Re: memprof reports memory leak with GtkCalendar



ChiDeok Hwang <hwang mizi co kr> writes:

> On Thu, Nov 16, 2000 at 07:21:05PM -0800, Evan Martin wrote:
> > memprof finds a memory leak when I use the GtkCalendar widget.
> > 
> > The attached test program demonstrates this:
> > It creates a window with a button, which, when clicked, pops up another
> > window containing a calendar.
> > As I understand GTK, closing this window should properly destroy the calendar.
> > 
> > I have also attached the memprof leak information after running the test
> > program with debug versions of the GTK libraries, and popping up a calendar
> > twice.
> > 
> > Is this a true leak?  Or is memprof misreporting?
> 
> I am sure that this is really memleak.
> Try the attached patch.

Thanks for the patch; applied with one small formatting change
to head and stable branches of GTK+.

Regards,
                                        Owen




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]