Re: GSourceCallback leak in gmain.c
- From: Owen Taylor <otaylor redhat com>
- To: Alexander Larsson <alla lysator liu se>
- Cc: gtk-devel-list gnome org
- Subject: Re: GSourceCallback leak in gmain.c
- Date: 22 Jan 2001 08:57:48 -0500
Alexander Larsson <alla lysator liu se> writes:
> The GSourceCallback allocated in g_source_set_callback is leaked. The
> ref_count is also not initialized, so the notify call can be called at the
> wrong time (or not at all).
>
> Here is a patch, can I check it in?
Looks right to me. Please do.
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]