From ebb30d0428416a9a33eadcee0000a38d5e76f20f Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Fri, 1 Aug 2003 19:43:49 +0000 Subject: Fix mem leak. 2003-08-01 Christian Persch * src/ephy-main.c: (main): Fix mem leak. --- ChangeLog | 6 ++++++ src/ephy-main.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 946de2496..c71921560 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-08-01 Christian Persch + + * src/ephy-main.c: (main): + + Fix mem leak. + 2003-08-01 Christian Persch * embed/mozilla/mozilla-embed.cpp: (mozilla_embed_dom_mouse_down_cb): 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) -- cgit v1.2.3