mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-05-24 06:20:40 +02:00
Don't leak closure->notifiers.
2001-01-24 <alexl@redhat.com> * gclosure.c (g_closure_unref): Don't leak closure->notifiers.
This commit is contained in:
parent
6d14518018
commit
9f9ad36031
@ -1,3 +1,8 @@
|
|||||||
|
2001-01-24 <alexl@redhat.com>
|
||||||
|
|
||||||
|
* gclosure.c (g_closure_unref):
|
||||||
|
Don't leak closure->notifiers.
|
||||||
|
|
||||||
2001-01-05 Havoc Pennington <hp@redhat.com>
|
2001-01-05 Havoc Pennington <hp@redhat.com>
|
||||||
|
|
||||||
* gparamspecs.c (g_param_spec_enum): set the value_type in the
|
* gparamspecs.c (g_param_spec_enum): set the value_type in the
|
||||||
|
@ -350,6 +350,7 @@ g_closure_unref (GClosure *closure)
|
|||||||
if (closure->ref_count == 0)
|
if (closure->ref_count == 0)
|
||||||
{
|
{
|
||||||
closure_invoke_notifiers (closure, FNOTIFY);
|
closure_invoke_notifiers (closure, FNOTIFY);
|
||||||
|
g_free (closure->notifiers);
|
||||||
g_free (closure);
|
g_free (closure);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user