[Xfce4-commits] <midori:master> Free frozen extension list as GDestroyNotify
Christian Dywan
noreply at xfce.org
Thu Jul 12 23:22:01 CEST 2012
Updating branch refs/heads/master
to c13da3b1b390fc242e1b368c7e6b2e1087fb801a (commit)
from 00ca0c46877974dc2693111097ddeb304180adea (commit)
commit c13da3b1b390fc242e1b368c7e6b2e1087fb801a
Author: Christian Dywan <christian at twotoasts.de>
Date: Thu Jul 12 23:20:09 2012 +0200
Free frozen extension list as GDestroyNotify
midori/main.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/midori/main.c b/midori/main.c
index b57fef5..e6c121c 100644
--- a/midori/main.c
+++ b/midori/main.c
@@ -1329,7 +1329,6 @@ midori_load_extensions (gpointer data)
g_free (extension_path);
}
}
- g_strfreev (keys);
#ifdef G_ENABLE_DEBUG
if (startup_timer)
@@ -2534,7 +2533,7 @@ main (int argc,
G_CALLBACK (midori_trash_remove_item_cb), NULL);
katze_item_set_parent (KATZE_ITEM (_session), app);
- g_object_set_data (G_OBJECT (app), "extensions", extensions);
+ g_object_set_data_full (G_OBJECT (app), "extensions", extensions, (GDestroyNotify)g_strfreev);
/* We test for the presence of a dummy file which is created once
and deleted during normal runtime, but persists in case of a crash. */
katze_assign (config_file, g_build_filename (config, "running", NULL));
More information about the Xfce4-commits
mailing list