summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas Rocha <lucasr@gnome.org>2009-08-10 03:44:00 +0100
committerLucas Rocha <lucasr@gnome.org>2009-08-10 03:44:00 +0100
commit82f63f94d5f7204a77d22fea7eb0331ce5d59311 (patch)
treef6be1835bc04ae0daeab5cb09b48cc31613b85de
parent[option] Fix type of filters variable (diff)
downloadzenity-82f63f94d5f7204a77d22fea7eb0331ce5d59311.tar.gz
zenity-82f63f94d5f7204a77d22fea7eb0331ce5d59311.tar.bz2
zenity-82f63f94d5f7204a77d22fea7eb0331ce5d59311.zip
[option] Free file filter list on exit
-rw-r--r--src/option.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/option.c b/src/option.c
index 2367d089..1bc2eafc 100644
--- a/src/option.c
+++ b/src/option.c
@@ -861,6 +861,9 @@ zenity_option_free (void) {
if (zenity_entry_entry_text)
g_free (zenity_entry_entry_text);
+ if (zenity_file_filter)
+ g_strfreev (zenity_file_filter);
+
if (zenity_list_columns)
g_strfreev (zenity_list_columns);
if (zenity_list_print_column)
bgstack15