diff options
author | Jean-Christophe DUBOIS <jcd@tribudubois.net> | 2009-11-15 19:18:14 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-02 08:57:42 -0600 |
commit | 49cd8046dd773c725b2fabe3ebb5ebc85aec0d18 (patch) | |
tree | 486bc3edc9f2866f9f1cb85cb8d5cb3819efe8b6 /hw/baum.c | |
parent | b2538b4b1f32d057d813aafe8beb16a8d6c7cf2b (diff) |
Fix qemu_free use in baum.c
baum.c is using free() instead of qemu_free().
Fix it.
Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/baum.c')
-rw-r--r-- | hw/baum.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -559,7 +559,7 @@ static void baum_chr_read(void *opaque) if (ret == -1 && (brlapi_errno != BRLAPI_ERROR_LIBCERR || errno != EINTR)) { brlapi_perror("baum: brlapi_readKey"); brlapi__closeConnection(baum->brlapi); - free(baum->brlapi); + qemu_free(baum->brlapi); baum->brlapi = NULL; } } @@ -622,8 +622,8 @@ fail: qemu_free_timer(baum->cellCount_timer); brlapi__closeConnection(handle); fail_handle: - free(handle); - free(chr); - free(baum); + qemu_free(handle); + qemu_free(chr); + qemu_free(baum); return NULL; } |