Re: GLib Reference Documentation

On Wed, 2009-01-07 at 18:08 +0100, Valerio Messina wrote:
> GLib Reference Documentation should mention that:
> 1 - 'error' must be initialized to NULL before call
> 'g_spawn_command_line_sync'
> 3 - 'error' must be freed with: if (errorPtr) g_error_free (errorPtr);
> or lot of coredump and memory leak occur.

These are all covered by the documentation on GError, which has several
pages on how to use GErrors correctly.

Ross Burton                                 mail: ross burtonini com
                                          jabber: ross burtonini com

Attachment: signature.asc
Description: This is a digitally signed message part

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]