Re: GSourceCallback leak in gmain.c



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]