[epiphany/mcatanzaro/#1104: 4/4] search-engine-manager: fix leak during initialization
- From: Jan-Michael Brummer <jbrummer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/mcatanzaro/#1104: 4/4] search-engine-manager: fix leak during initialization
- Date: Mon, 17 Feb 2020 20:41:22 +0000 (UTC)
commit b61175a34dba9276281ec56e9e6d5e4a8c40e597
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Mon Feb 17 13:59:31 2020 -0600
search-engine-manager: fix leak during initialization
Fixes #1104
lib/ephy-search-engine-manager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lib/ephy-search-engine-manager.c b/lib/ephy-search-engine-manager.c
index 984ad1f89..a5872db8d 100644
--- a/lib/ephy-search-engine-manager.c
+++ b/lib/ephy-search-engine-manager.c
@@ -84,7 +84,7 @@ ephy_search_engine_manager_init (EphySearchEngineManager *manager)
const char *address;
const char *bang;
char *name;
- GVariantIter *iter = NULL;
+ g_autoptr (GVariantIter) iter = NULL;
manager->search_engines = g_hash_table_new_full (g_str_hash,
g_str_equal,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]