On Sun, Jul 29, 2007 at 12:45:38PM +0200, Tomasz Jankowski wrote:
> My code looks like this, please tell me if it may occur any memory
> allocation errors:
> 
> A = g_alloca ();
> g_signal_emit(..., A and other args);
> g_free (A);

If you call g_free() on g_alloca()-allocated memory, errors
will occur.

Yeti

--
http://gwyddion.net/
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to