Commit adb725ea authored by Emmanuele Bassi's avatar Emmanuele Bassi Committed by Emmanuele Bassi

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)
parent b08305d2
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,
......
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,
......
......@@ -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;
}
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment