commit | 0e173b24b523b432854689717e09de5c95c158f8 | [log] [tgz] |
---|---|---|
author | Harmandeep Kaur <write.harmandeep@gmail.com> | Tue Oct 06 21:47:12 2015 +0530 |
committer | Riku Voipio <riku.voipio@linaro.org> | Fri Jan 08 11:36:13 2016 +0200 |
tree | 60c4869c464ea1cd50873fabbd39a256d965d7a4 | |
parent | 3e24bb3f1277ee25743f0a3274306080df80da2c [diff] |
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>