[frogr] Fix HUGE memory leak loading thumbnails for details window



commit 2b7d130cb44c927dd98589186ed0b03810a3c518
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 41f4578..cc16641 100644
--- a/src/frogr-details-dialog.c
+++ b/src/frogr-details-dialog.c
@@ -711,6 +711,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]