libqos: Change free function called in malloc
Reviewed-by: John Snow <jsnow@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Marc Marí <marc.mari.barcelo@gmail.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
		
							parent
							
								
									f75ffc5857
								
							
						
					
					
						commit
						220c1a2fad
					
				| 
						 | 
				
			
			@ -32,7 +32,7 @@ static inline uint64_t guest_alloc(QGuestAllocator *allocator, size_t size)
 | 
			
		|||
 | 
			
		||||
static inline void guest_free(QGuestAllocator *allocator, uint64_t addr)
 | 
			
		||||
{
 | 
			
		||||
    allocator->alloc(allocator, addr);
 | 
			
		||||
    allocator->free(allocator, addr);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue