aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-embed-popup.c2
-rw-r--r--embed/ephy-embed-utils.c1
-rw-r--r--embed/mozilla/mozilla-embed.cpp7
3 files changed, 7 insertions, 3 deletions
diff --git a/embed/ephy-embed-popup.c b/embed/ephy-embed-popup.c
index e66678714..d7dfc955a 100644
--- a/embed/ephy-embed-popup.c
+++ b/embed/ephy-embed-popup.c
@@ -607,6 +607,8 @@ embed_popup_open_frame_cmd (BonoboUIComponent *uic,
FALSE, &location);
ephy_embed_load_url (popup->priv->embed, location);
+
+ g_free (location);
}
static void
diff --git a/embed/ephy-embed-utils.c b/embed/ephy-embed-utils.c
index 4e68964b9..3ea0f1095 100644
--- a/embed/ephy-embed-utils.c
+++ b/embed/ephy-embed-utils.c
@@ -169,6 +169,7 @@ ephy_embed_utils_save (GtkWidget *window,
g_free (dirName);
g_free (fileName);
+ g_free (target);
}
/**
diff --git a/embed/mozilla/mozilla-embed.cpp b/embed/mozilla/mozilla-embed.cpp
index 6d6a34726..20728a695 100644
--- a/embed/mozilla/mozilla-embed.cpp
+++ b/embed/mozilla/mozilla-embed.cpp
@@ -502,7 +502,7 @@ impl_can_go_up (EphyEmbed *embed)
{
g_free (s);
result = G_OK;
- }
+ }
else
{
result = G_FAILED;
@@ -562,12 +562,13 @@ impl_go_up (EphyEmbed *embed)
g_return_val_if_fail (uri != NULL, G_FAILED);
parent_uri = mozilla_embed_get_uri_parent (uri);
+ g_free (uri);
g_return_val_if_fail (parent_uri != NULL, G_FAILED);
ephy_embed_load_url (embed, parent_uri);
-
+
g_free (parent_uri);
-
+
return G_OK;
}