forked from AuroraMiddleware/gtk
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:
parent
b08305d2d7
commit
adb725eadc
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user