summaryrefslogtreecommitdiff
path: root/src/xsane-email-project.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xsane-email-project.c')
-rw-r--r--src/xsane-email-project.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xsane-email-project.c b/src/xsane-email-project.c
index c7451ee..87b6574 100644
--- a/src/xsane-email-project.c
+++ b/src/xsane-email-project.c
@@ -183,6 +183,7 @@ void xsane_email_dialog()
pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask);
gtk_box_pack_start(GTK_BOX(hbox), pixmapwidget, FALSE, FALSE, 2);
gdk_drawable_unref(pixmap);
+ gdk_drawable_unref(mask);
text = gtk_entry_new();
gtk_entry_set_max_length(GTK_ENTRY(text), 128);
@@ -208,6 +209,7 @@ void xsane_email_dialog()
pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask);
gtk_box_pack_start(GTK_BOX(hbox), pixmapwidget, FALSE, FALSE, 2);
gdk_drawable_unref(pixmap);
+ gdk_drawable_unref(mask);
text = gtk_entry_new();
xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_EMAIL_SUBJECT);