diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-06-13 01:43:58 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-06-13 01:43:58 +0800 |
commit | 53d825c05b5eafa38c10a5a9b1b9e58f1bc1051d (patch) | |
tree | c8492813e1638aef0d87b035f4c17883a7e4aaf7 /embed/mozilla/mozilla-embed.cpp | |
parent | e7b6bad87295b8a0849d18eae16038d4964a6f85 (diff) | |
download | gsoc2013-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 'embed/mozilla/mozilla-embed.cpp')
-rw-r--r-- | embed/mozilla/mozilla-embed.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
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; } |