From 53d825c05b5eafa38c10a5a9b1b9e58f1bc1051d Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Thu, 12 Jun 2003 17:43:58 +0000 Subject: Sigh. Fix some more mem leaks. 2003-06-12 Christian Persch * embed/ephy-embed-popup.c: (embed_popup_open_frame_cmd): * embed/ephy-embed-utils.c: (ephy_embed_utils_save): * embed/mozilla/mozilla-embed.cpp: (impl_go_up): * src/ephy-nautilus-view.c: (gnv_popup_cmd_frame_in_new_window): * src/ephy-shell.c: (ephy_shell_new_tab): * src/popup-commands.c: (popup_cmd_open_frame): Sigh. Fix some more mem leaks. --- src/ephy-nautilus-view.c | 1 + src/ephy-shell.c | 1 + src/popup-commands.c | 2 ++ 3 files changed, 4 insertions(+) (limited to 'src') diff --git a/src/ephy-nautilus-view.c b/src/ephy-nautilus-view.c index 9e977dd25..e99ef1bba 100644 --- a/src/ephy-nautilus-view.c +++ b/src/ephy-nautilus-view.c @@ -541,6 +541,7 @@ gnv_popup_cmd_frame_in_new_window (BonoboUIComponent *uic, nautilus_view_open_location_force_new_window (NAUTILUS_VIEW (view), location, NULL); + g_free (location); } void diff --git a/src/ephy-shell.c b/src/ephy-shell.c index ab350a9a0..8e3201fda 100644 --- a/src/ephy-shell.c +++ b/src/ephy-shell.c @@ -414,6 +414,7 @@ ephy_shell_new_tab (EphyShell *shell, &previous_address); toolbar_set_location (toolbar, previous_address); toolbar_edit_location (toolbar); + g_free (previous_address); load_homepage (embed); } diff --git a/src/popup-commands.c b/src/popup-commands.c index 9a75a8ac6..ff1390704 100644 --- a/src/popup-commands.c +++ b/src/popup-commands.c @@ -439,6 +439,8 @@ popup_cmd_open_frame (EggAction *action, ephy_embed_get_location (embed, FALSE, &location); ephy_embed_load_url (embed, location); + + g_free (location); } void -- cgit v1.2.3