Do not leak the groups string vector. (#344607, John Finlay)

2006-06-11  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentchooserdefault.c
	(get_is_recent_filtered):
	* gtk/gtkrecentchoosermenu.c
	(get_is_recent_filtered):
	Do not leak the groups string vector. (#344607,
	John Finlay)
This commit is contained in:
Emmanuele Bassi 2006-06-11 20:47:43 +00:00 committed by Emmanuele Bassi
parent b08305d2d7
commit adb725eadc
4 changed files with 22 additions and 0 deletions

View File

@ -1,3 +1,12 @@
2006-06-11 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkrecentchooserdefault.c
(get_is_recent_filtered):
* gtk/gtkrecentchoosermenu.c
(get_is_recent_filtered):
Do not leak the groups string vector. (#344607,
John Finlay)
2006-06-11 Tor Lillqvist <tml@novell.com>
* gtk/gtkprintoperation-win32.c: Fix MSVC build problem. (#339739,

View File

@ -1,3 +1,12 @@
2006-06-11 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkrecentchooserdefault.c
(get_is_recent_filtered):
* gtk/gtkrecentchoosermenu.c
(get_is_recent_filtered):
Do not leak the groups string vector. (#344607,
John Finlay)
2006-06-11 Tor Lillqvist <tml@novell.com>
* gtk/gtkprintoperation-win32.c: Fix MSVC build problem. (#339739,

View File

@ -1505,6 +1505,8 @@ get_is_recent_filtered (GtkRecentChooserDefault *impl,
/* this we own */
if (filter_info.applications)
g_strfreev ((gchar **) filter_info.applications);
if (filter_info.groups)
g_strfreev ((gchar **) filter_info.groups);
return !retval;
}

View File

@ -774,6 +774,8 @@ get_is_recent_filtered (GtkRecentChooserMenu *menu,
/* this we own */
if (filter_info.applications)
g_strfreev ((gchar **) filter_info.applications);
if (filter_info.groups)
g_strfreev ((gchar **) filter_info.groups);
return !retval;
}