Re: gclosure->notifier leak
- From: Tim Janik <timj gtk org>
- To: Alexander Larsson <alla lysator liu se>
- Cc: Gtk+ Developers <gtk-devel-list gnome org>
- Subject: Re: gclosure->notifier leak
- Date: Tue, 23 Jan 2001 13:46:06 +0100 (CET)
On Tue, 23 Jan 2001, Alexander Larsson wrote:
> I believe gclosure->notifier leaks. Can I check in this?
yep, you're right, thanks.
>
> / 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);
> }
> }
>
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]