Re: Question about signals in GObject
- From: David Nečas (Yeti) <yeti physics muni cz>
- To: gtk-app-devel-list gnome org
- Subject: Re: Question about signals in GObject
- Date: Sun, 29 Jul 2007 13:01:48 +0200
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/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]