summaryrefslogtreecommitdiff
path: root/gtk/gtkprintjob.c
diff options
context:
space:
mode:
authorChristian Dywan <cdywan@src.gnome.org>2008-08-29 18:14:32 +0000
committerChristian Dywan <cdywan@src.gnome.org>2008-08-29 18:14:32 +0000
commit516ce851fb1116b81c873783e428597f1b421152 (patch)
tree73c94942f5a831d576fa8916dc3dd727590f5165 /gtk/gtkprintjob.c
parent2faae9fd1d67cedef36baafc818bd0b45d031184 (diff)
downloadgtk+-516ce851fb1116b81c873783e428597f1b421152.tar.gz
Bug 549810 – Memory leaks in printing code
svn path=/trunk/; revision=21241
Diffstat (limited to 'gtk/gtkprintjob.c')
-rw-r--r--gtk/gtkprintjob.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkprintjob.c b/gtk/gtkprintjob.c
index d9ff9cdc55..c59a27a741 100644
--- a/gtk/gtkprintjob.c
+++ b/gtk/gtkprintjob.c
@@ -585,6 +585,7 @@ gtk_print_job_set_property (GObject *object,
switch (prop_id)
{
case PROP_TITLE:
+ g_free (priv->title);
priv->title = g_value_dup_string (value);
break;