aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-08-02 03:43:49 +0800
committerChristian Persch <chpe@src.gnome.org>2003-08-02 03:43:49 +0800
commitebb30d0428416a9a33eadcee0000a38d5e76f20f (patch)
treee416d97c9cfc9a68adef0097a65c3c96e389bcf9
parentd0251310f8d4236076dd03affe2dad19f404a390 (diff)
downloadgsoc2013-epiphany-ebb30d0428416a9a33eadcee0000a38d5e76f20f.tar
gsoc2013-epiphany-ebb30d0428416a9a33eadcee0000a38d5e76f20f.tar.gz
gsoc2013-epiphany-ebb30d0428416a9a33eadcee0000a38d5e76f20f.tar.bz2
gsoc2013-epiphany-ebb30d0428416a9a33eadcee0000a38d5e76f20f.tar.lz
gsoc2013-epiphany-ebb30d0428416a9a33eadcee0000a38d5e76f20f.tar.xz
gsoc2013-epiphany-ebb30d0428416a9a33eadcee0000a38d5e76f20f.tar.zst
gsoc2013-epiphany-ebb30d0428416a9a33eadcee0000a38d5e76f20f.zip
Fix mem leak.
2003-08-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): Fix mem leak.
-rw-r--r--ChangeLog6
-rw-r--r--src/ephy-main.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 946de2496..c71921560 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2003-08-01 Christian Persch <chpe@cvs.gnome.org>
+ * src/ephy-main.c: (main):
+
+ Fix mem leak.
+
+2003-08-01 Christian Persch <chpe@cvs.gnome.org>
+
* embed/mozilla/mozilla-embed.cpp: (mozilla_embed_dom_mouse_down_cb):
* embed/ephy-embed.h:
* embed/ephy-embed.c: (ephy_embed_base_init):
diff --git a/src/ephy-main.c b/src/ephy-main.c
index 97121fe97..22c33b695 100644
--- a/src/ephy-main.c
+++ b/src/ephy-main.c
@@ -142,6 +142,8 @@ main (int argc, char *argv[])
/* load arguments that aren't regular options (urls to load) */
n_urls = ephy_main_translate_url_arguments (context, &url);
+ g_value_unset (&context_as_value);
+
first_instance = ephy_main_automation_init ();
if (first_instance)