aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-stock-request.c3
1 files changed, 1 insertions, 2 deletions
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 ();