Fix ticket 3613 about memory leak

Bin Chen binarychen at e28.com
Fri Oct 19 07:42:53 EDT 2007


Hi,

I add some lins in pidgin_conv_destroy(), but the result unchanged,
still shows about 100K leakage, the memory keep increasing as before,
can anybody tell me how to fix it?

        gtk_widget_destroy(gtkconv->imhtml);
        gtk_widget_destroy(gtkconv->tabby);
        gtk_widget_destroy(gtkconv->menu_tabby);
        gtk_widget_destroy(gtkconv->close);
        gtk_widget_destroy(gtkconv->icon);
        gtk_widget_destroy(gtkconv->tab_label);
        gtk_widget_destroy(gtkconv->menu_icon);
        gtk_widget_destroy(gtkconv->menu_label);
        gtk_widget_destroy(gtkconv->lower_hbox);
        gtk_widget_destroy(gtkconv->toolbar);

Thanks.
Bin

在 2007-10-19五的 19:00 +0800,Bin Chen写道:
> Hi,
> 
> I submit a bug #3613 ticket, which is about memory leak when close a
> conversation window. I want to solve this by myself, so I have a
> question here.
> 
> Is the pidgin_conv_destroy() the only function to destroy a
> conversation, if right, where is the code to destroy the imhtml embedded
> in the conversation window?
> 
> 
> Thanks in advance.
> Bin




More information about the Devel mailing list