summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@src.gnome.org>2003-10-20 13:55:44 +0000
committerBastien Nocera <hadess@src.gnome.org>2003-10-20 13:55:44 +0000
commitba36a20cb81c8b3561b99a2412a9fd71b7cd8c12 (patch)
tree88a5de6613816aa1db1aea08c73978c303837df9 /lib/command.c
parentaf8478ca5fb759bd9e22ead29d83be5634b8fc87 (diff)
downloadlibgtop-ba36a20cb81c8b3561b99a2412a9fd71b7cd8c12.tar.gz
- replace all the xmalloc crap by glib memory management functions
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command.c b/lib/command.c
index be59c38d..593d9df8 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -66,7 +66,7 @@ glibtop_call_l (glibtop *server, unsigned command, size_t send_size,
recv_size);
if (response.data_size) {
- void *ptr = glibtop_malloc_r (server, response.data_size);
+ void *ptr = g_malloc (server, response.data_size);
glibtop_read_l (server, response.data_size, ptr);