From 0c25f646c8e5d1e8f0617e14949e824de6e7f1fb Mon Sep 17 00:00:00 2001
From: Dan Vrátil <dvratil@redhat.com>
Date: Tue, 12 Jun 2012 18:30:19 +0200
Subject: Bug #677607 - Closing Mail Browser emits critical warnings

---
 e-util/e-stock-request.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'e-util/e-stock-request.c')

diff --git a/e-util/e-stock-request.c b/e-util/e-stock-request.c
index 5a1fbc9f07..ef556312ce 100644
--- a/e-util/e-stock-request.c
+++ b/e-util/e-stock-request.c
@@ -68,6 +68,7 @@ handle_stock_request (GSimpleAsyncResult *res,
 
 	if (query) {
 		a_size = g_hash_table_lookup (query, "size");
+		g_hash_table_destroy (query);
 	} else {
 		a_size = NULL;
 	}
@@ -78,8 +79,6 @@ handle_stock_request (GSimpleAsyncResult *res,
 		size = atoi (a_size);
 	}
 
-	g_hash_table_destroy (query);
-
 	/* Try style context first */
 	context = gtk_style_context_new ();
 	path = gtk_widget_path_new ();
-- 
cgit