[gthumb: 7/9] unref the load data manually when the timeout is not used



commit dbf0eca11b657864e0debaf75177329221a3c963
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Mon Apr 26 20:25:55 2010 +0200

    unref the load data manually when the timeout is not used

 gthumb/gth-browser.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gthumb/gth-browser.c b/gthumb/gth-browser.c
index 03d38db..552fde8 100644
--- a/gthumb/gth-browser.c
+++ b/gthumb/gth-browser.c
@@ -4947,6 +4947,7 @@ gth_browser_load_file (GthBrowser  *browser,
 			browser->priv->load_file_timeout = 0;
 			load_file_delayed_cb (data);
 		}
+		load_file_data_unref (data);
 		return;
 	}
 



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