aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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