gclosure->notifier leak
- From: Alexander Larsson <alla lysator liu se>
- To: gtk-devel-list gnome org, timj gtk org
- Subject: gclosure->notifier leak
- Date: Tue, 23 Jan 2001 12:22:57 +0100 (CET)
I believe gclosure->notifier leaks. Can I check in this?
/ Alex
Index: gobject/gclosure.c
===================================================================
RCS file: /cvs/gnome/glib/gobject/gclosure.c,v
retrieving revision 1.5
diff -u -p -r1.5 gclosure.c
--- gobject/gclosure.c 2000/12/12 07:32:00 1.5
+++ gobject/gclosure.c 2001/01/23 11:16:19
@@ -350,6 +350,7 @@ g_closure_unref (GClosure *closure)
if (closure->ref_count == 0)
{
closure_invoke_notifiers (closure, FNOTIFY);
+ g_free (closure->notifiers);
g_free (closure);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]