From ba36a20cb81c8b3561b99a2412a9fd71b7cd8c12 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Mon, 20 Oct 2003 13:55:44 +0000 Subject: - replace all the xmalloc crap by glib memory management functions --- lib/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/command.c') 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); -- cgit v1.2.1