[gthumb] fixed memory leak



commit 6032875afcf7faf99712d1a191ce55fb8009b711
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sat Apr 3 22:19:36 2010 +0200

    fixed memory leak

 extensions/flicker/dlg-export-to-flickr.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/extensions/flicker/dlg-export-to-flickr.c b/extensions/flicker/dlg-export-to-flickr.c
index b625e4a..220319a 100644
--- a/extensions/flicker/dlg-export-to-flickr.c
+++ b/extensions/flicker/dlg-export-to-flickr.c
@@ -430,6 +430,7 @@ upload_status_ready_cb (GObject      *source_object,
 	DialogData *data = user_data;
 	GError     *error = NULL;
 
+	_g_object_unref (data->user);
 	data->user = flickr_service_get_upload_status_finish (FLICKR_SERVICE (source_object), res, &error);
 	if (error != NULL) {
 		if (data->conn != NULL)



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