Minor memory leak in all Gtk+ 1.2.0 based applications
- From: fpetitje bureauveritas com
- To: gtk-devel-list redhat com
- Subject: Minor memory leak in all Gtk+ 1.2.0 based applications
- Date: Tue, 16 Mar 1999 15:11:39 +0100
Any Gtk based application should call gtk_init() which in turn calls
gtk_rc_init() in gtkrc.c. In this routine, an array locale_suffixes[] is
built if the locale is not C nor POSIX. We have (three times) :
locale_suffixes[n_locale_suffixes++] = g_strndup (locale, length);
I think that we should add
g_free (locale_suffixes[j] );
after line 445 g_free (name); of gtkrc.c
Best regards.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]