fix g_malloc usage on non-Linux platforms (patch by Benoit Dejean
2004-03-09 Bastien Nocera <hadess@hadess.net> * fix g_malloc usage on non-Linux platforms (patch by Benoit Dejean <bnet@ifrance.com>)
This commit is contained in:
committed by
Bastien Nocera
parent
58c15ceeda
commit
a795ff4847
@@ -47,7 +47,7 @@ glibtop_read_data_i (backend_server_private *priv)
|
||||
|
||||
if (!size) return NULL;
|
||||
|
||||
ptr = g_malloc (priv->server, size);
|
||||
ptr = g_malloc (size);
|
||||
|
||||
ret = read (priv->input [0], ptr, size);
|
||||
|
||||
|
Reference in New Issue
Block a user