[gentoo-user] memory leak with gtk+-2.8.20-r1

2006-08-02 Thread gwe
Hello, I use gtk+ for my soft's graphic interface. But valgrind make an log file containing approximately 22700 lines for an simple source code like : #include gtk/gtk.h int main(int argc, char **argv) { gtk_init(argc, argv); GtkWidget *win= gtk_window_new(GTK_WINDOW_TOPLEVEL);

[gentoo-user] memory leak with gtk+-2.8.20-r1

2006-08-02 Thread gwe
Hello, I use gtk+ for my soft's graphic interface. But valgrind make an log file containing approximately 22700 lines for an simple source code like : #include gtk/gtk.h int main(int argc, char **argv) { gtk_init(argc, argv); GtkWidget *win= gtk_window_new(GTK_WINDOW_TOPLEVEL);

Re: [gentoo-user] memory leak with gtk+-2.8.20-r1

2006-08-02 Thread gwe
Le Wed, 02 Aug 2006 13:20:07 +0200, Hans-Werner Hilse a écrit : Hi, On Wed, 02 Aug 2006 12:58:33 +0200 gwe [EMAIL PROTECTED] wrote: Someone has the same problem or an solution to solve this leak of memory? Thank you very much. You should at least describe the problem you have. You're

Re: [gentoo-user] memory leak with gtk+-2.8.20-r1

2006-08-02 Thread gwe
Le Wed, 02 Aug 2006 17:30:10 +0200, Randy Barlow a écrit : Ah yes, I wasn't aware that there was a function for this. You should definitely use this in place of the delete statement because it will do deeper cleaning. the GTK Api said gtk_exit is deprecated and should not be used. In