diff options
author | Bastien Nocera <hadess@src.gnome.org> | 2003-10-20 13:55:44 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@src.gnome.org> | 2003-10-20 13:55:44 +0000 |
commit | ba36a20cb81c8b3561b99a2412a9fd71b7cd8c12 (patch) | |
tree | 88a5de6613816aa1db1aea08c73978c303837df9 /doc/reference.texi | |
parent | af8478ca5fb759bd9e22ead29d83be5634b8fc87 (diff) | |
download | libgtop-ba36a20cb81c8b3561b99a2412a9fd71b7cd8c12.tar.gz |
- replace all the xmalloc crap by glib memory management functions
Diffstat (limited to 'doc/reference.texi')
-rw-r--r-- | doc/reference.texi | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/reference.texi b/doc/reference.texi index 4a94cb69..5799a469 100644 --- a/doc/reference.texi +++ b/doc/reference.texi @@ -464,8 +464,8 @@ Size of a single entry in the returned list (this equals @code{sizeof (unsigned)}). @end table -The returned list is allocated using @code{glibtop_malloc} and must be freed -using @code{glibtop_free} to avoid a memory leak. +The returned list is allocated using @code{g_malloc} and must be freed +using @code{g_free} to avoid a memory leak. @page @node glibtop_proc_state, glibtop_proc_uid, glibtop_proclist, System Dependent @@ -1108,7 +1108,7 @@ Returns a string with all command line arguments of process @code{pid} The command line arguments in the returned string are separated by zero bytes; the lenght of this string is returned in the @code{size} field. -Remember to @code{glibtop_free} the returned string to avoid a memory leak. +Remember to @code{g_free} the returned string to avoid a memory leak. @page @node glibtop_proc_map, glibtop_netload, glibtop_proc_args, System Dependent @@ -1144,7 +1144,7 @@ struct _glibtop_proc_map @end example Returns a @code{glibtop_map_entry *} list (which needs to be freed with -@code{glibtop_free}) of memory maps of process @code{pid}. +@code{g_free}) of memory maps of process @code{pid}. @table @code @item number @@ -1418,7 +1418,7 @@ struct _glibtop_mountlist @end example Returns a @code{glibtop_mountentry *} list (which needs to be freed with -@code{glibtop_free}) of mounted filesystems. +@code{g_free}) of mounted filesystems. @table @code @item number |