[frogr/frogr-0.6.x: 8/9] Fix HUGE memory leak loading thumbnails for details window



commit dca613c6af15bd156ed5ea6c5660e2c5810c53bb
Author: Mario Sanchez Prada <msanchez igalia com>
Date:   Thu Aug 18 09:09:33 2011 +0200

    Fix HUGE memory leak loading thumbnails for details window

 src/frogr-details-dialog.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/frogr-details-dialog.c b/src/frogr-details-dialog.c
index 82c5ad1..a754fee 100644
--- a/src/frogr-details-dialog.c
+++ b/src/frogr-details-dialog.c
@@ -710,6 +710,8 @@ _load_picture_from_disk_cb (GObject *object,
           /* Everything should be fine by now, show it */
           _place_picture_in_dialog_and_show (self);
         }
+
+      g_object_unref (pixbuf_loader);
     }
 
   /* Show error to the user and finalize dialog if needed */



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