mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 22:46:15 +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>
|
||||
|
||||
* glib/glib.symbols:
|
||||
|
@ -665,6 +665,9 @@ g_main_context_unref (GMainContext *context)
|
||||
else
|
||||
main_contexts_without_pipe = g_slist_remove (main_contexts_without_pipe,
|
||||
context);
|
||||
|
||||
if (context->cond != NULL)
|
||||
g_cond_free (context->cond);
|
||||
#endif
|
||||
|
||||
g_free (context);
|
||||
|
Loading…
Reference in New Issue
Block a user