mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
Don't leak the condvar. (#479724, Areg Beketovski)
2007-11-07 Matthias Clasen <mclasen@redhat.com> * glib/gmain.c (g_main_context_unref): Don't leak the condvar. (#479724, Areg Beketovski) svn path=/trunk/; revision=5818
This commit is contained in:
parent
9757456e23
commit
1c93d867fc
@ -1,3 +1,8 @@
|
|||||||
|
2007-11-07 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/gmain.c (g_main_context_unref): Don't leak the
|
||||||
|
condvar. (#479724, Areg Beketovski)
|
||||||
|
|
||||||
2007-11-07 Matthias Clasen <mclasen@redhat.com>
|
2007-11-07 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/glib.symbols:
|
* glib/glib.symbols:
|
||||||
|
@ -665,6 +665,9 @@ g_main_context_unref (GMainContext *context)
|
|||||||
else
|
else
|
||||||
main_contexts_without_pipe = g_slist_remove (main_contexts_without_pipe,
|
main_contexts_without_pipe = g_slist_remove (main_contexts_without_pipe,
|
||||||
context);
|
context);
|
||||||
|
|
||||||
|
if (context->cond != NULL)
|
||||||
|
g_cond_free (context->cond);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
g_free (context);
|
g_free (context);
|
||||||
|
Loading…
Reference in New Issue
Block a user