[gnumeric] Plug leak.



commit c337b8ee99fcff9456a20eccfdd0b91ee3aec931
Author: Morten Welinder <terra gnome org>
Date:   Thu Jan 1 20:24:17 2015 -0500

    Plug leak.

 src/dialogs/dialog-printer-setup.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/dialogs/dialog-printer-setup.c b/src/dialogs/dialog-printer-setup.c
index 44602d9..563e80a 100644
--- a/src/dialogs/dialog-printer-setup.c
+++ b/src/dialogs/dialog-printer-setup.c
@@ -1144,6 +1144,7 @@ hf_insert_hf_stock_tag (HFCustomizeState *hf_state, GtkTextBuffer *buffer,
 
                pix = gtk_icon_theme_load_icon (theme, icon_name, 16, 0, NULL);
                gtk_text_buffer_insert_pixbuf (buffer, &iter, pix);
+               g_object_unref (pix);
                gtk_text_iter_backward_char (&iter);
                new_mark = gtk_text_buffer_create_mark (buffer, NULL,
                                                        &iter, FALSE);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]