mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue