summaryrefslogtreecommitdiff
path: root/gtk/gtkprintsettings.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2006-07-23 20:11:28 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-07-23 20:11:28 +0000
commitaa5edeb2e0c3022de16414d67519c7be7d67960c (patch)
treeec12ca8de06098070f2a43fdc404af3ea0fb4a0a /gtk/gtkprintsettings.c
parenta7cb33db4ad287634d56ef19dd5b1acef917b2cb (diff)
downloadgdk-pixbuf-aa5edeb2e0c3022de16414d67519c7be7d67960c.tar.gz
Fix a memleak
Diffstat (limited to 'gtk/gtkprintsettings.c')
-rw-r--r--gtk/gtkprintsettings.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkprintsettings.c b/gtk/gtkprintsettings.c
index d7c62449d..bee1913a1 100644
--- a/gtk/gtkprintsettings.c
+++ b/gtk/gtkprintsettings.c
@@ -1289,6 +1289,8 @@ gtk_print_settings_get_page_ranges (GtkPrintSettings *settings,
ranges[i].end = end;
}
+ g_strfreev (range_strs);
+
*num_ranges = n;
return ranges;
}