Minor memory leak in all Gtk+ 1.2.0 based applications

  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]