aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-06-13 01:43:58 +0800
committerChristian Persch <chpe@src.gnome.org>2003-06-13 01:43:58 +0800
commit53d825c05b5eafa38c10a5a9b1b9e58f1bc1051d (patch)
treec8492813e1638aef0d87b035f4c17883a7e4aaf7 /src
parente7b6bad87295b8a0849d18eae16038d4964a6f85 (diff)
downloadgsoc2013-epiphany-53d825c05b5eafa38c10a5a9b1b9e58f1bc1051d.tar
gsoc2013-epiphany-53d825c05b5eafa38c10a5a9b1b9e58f1bc1051d.tar.gz
gsoc2013-epiphany-53d825c05b5eafa38c10a5a9b1b9e58f1bc1051d.tar.bz2
gsoc2013-epiphany-53d825c05b5eafa38c10a5a9b1b9e58f1bc1051d.tar.lz
gsoc2013-epiphany-53d825c05b5eafa38c10a5a9b1b9e58f1bc1051d.tar.xz
gsoc2013-epiphany-53d825c05b5eafa38c10a5a9b1b9e58f1bc1051d.tar.zst
gsoc2013-epiphany-53d825c05b5eafa38c10a5a9b1b9e58f1bc1051d.zip
Sigh. Fix some more mem leaks.
2003-06-12 Christian Persch <chpe@cvs.gnome.org> * 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.
Diffstat (limited to 'src')
-rw-r--r--src/ephy-nautilus-view.c1
-rw-r--r--src/ephy-shell.c1
-rw-r--r--src/popup-commands.c2
3 files changed, 4 insertions, 0 deletions
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