diff options
author | Harmandeep Kaur | 2015-10-06 18:17:12 +0200 |
---|---|---|
committer | Riku Voipio | 2016-01-08 10:36:13 +0100 |
commit | 0e173b24b523b432854689717e09de5c95c158f8 (patch) | |
tree | 60c4869c464ea1cd50873fabbd39a256d965d7a4 /linux-user/tilegx/syscall.h | |
parent | linux-user: in poll(), if nfds is 0, pfd can be NULL (diff) | |
download | qemu-0e173b24b523b432854689717e09de5c95c158f8.tar.gz qemu-0e173b24b523b432854689717e09de5c95c158f8.tar.xz qemu-0e173b24b523b432854689717e09de5c95c158f8.zip |
linux-user/syscall.c: malloc()/calloc() to g_malloc()/g_try_malloc()/g_new0()
Convert malloc()/ calloc() calls to g_malloc()/ g_try_malloc()/ g_new0()
All heap memory allocation should go through glib so that we can take
advantage of a single memory allocator and its debugging/tracing features.
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Harmandeep Kaur <write.harmandeep@gmail.com>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/tilegx/syscall.h')
0 files changed, 0 insertions, 0 deletions