- replace all the xmalloc crap by glib memory management functions
This commit is contained in:
@@ -121,7 +121,7 @@ glibtop_get_proc_map_s (glibtop *server, glibtop_proc_map *buf, pid_t pid)
|
||||
return NULL;
|
||||
}
|
||||
#endif
|
||||
if(!(entry = glibtop_malloc_r(server,
|
||||
if(!(entry = g_malloc(server,
|
||||
nmaps * sizeof(glibtop_map_entry))))
|
||||
return NULL;
|
||||
buf->number = nmaps;
|
||||
|
Reference in New Issue
Block a user