[epiphany/mcatanzaro/more-leaks: 1/3] search-engine-manager: fix leak of GVariantDict
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/mcatanzaro/more-leaks: 1/3] search-engine-manager: fix leak of GVariantDict
- Date: Fri, 16 Sep 2022 19:10:10 +0000 (UTC)
commit d931ce30989b5c3e371aba8578f5ecdc5a7c06c2
Author: Michael Catanzaro <mcatanzaro redhat com>
Date: Fri Sep 16 11:34:20 2022 -0500
search-engine-manager: fix leak of GVariantDict
lib/ephy-search-engine-manager.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/lib/ephy-search-engine-manager.c b/lib/ephy-search-engine-manager.c
index 3729090d2..5c4cd6d72 100644
--- a/lib/ephy-search-engine-manager.c
+++ b/lib/ephy-search-engine-manager.c
@@ -123,6 +123,7 @@ load_search_engines_from_settings (EphySearchEngineManager *manager)
url = "";
if (!g_variant_dict_lookup (&dict, "bang", "&s", &bang))
bang = "";
+ g_variant_dict_clear (&dict);
search_engine = g_object_new (EPHY_TYPE_SEARCH_ENGINE,
"name", name,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]