gclosure->notifier leak



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]