GLib Reference Documentation
- From: Valerio Messina <efa iol it>
- To: gtk-devel-list <gtk-devel-list gnome org>
- Subject: GLib Reference Documentation
- Date: Wed, 07 Jan 2009 18:08:04 +0100
GLib Reference Documentation should mention that:
1 - 'error' must be initialized to NULL before call
'g_spawn_command_line_sync'
2 - 'standard_output' and 'standard_error'
must be freed with 'g_free' after use.
3 - 'error' must be freed with: if (errorPtr) g_error_free (errorPtr);
or lot of coredump and memory leak occur.
Valerio
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]