aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)