diff options
Diffstat (limited to 'embed')
-rw-r--r-- | embed/ephy-embed-utils.c | 2 | ||||
-rw-r--r-- | embed/mozilla/mozilla-embed-single.cpp | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/embed/ephy-embed-utils.c b/embed/ephy-embed-utils.c index eda05cd64..33a8935ad 100644 --- a/embed/ephy-embed-utils.c +++ b/embed/ephy-embed-utils.c @@ -160,13 +160,13 @@ ephy_embed_utils_save (GtkWidget *window, g_free (retDir); gnome_vfs_uri_unref (uri); + g_free (retPath); } g_object_unref (G_OBJECT(persist)); g_free (dirName); g_free (fileName); - g_free (retPath); } static void diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp index fe1fbd1f0..20ccdfdca 100644 --- a/embed/mozilla/mozilla-embed-single.cpp +++ b/embed/mozilla/mozilla-embed-single.cpp @@ -945,8 +945,6 @@ impl_show_file_picker (EphyEmbedSingle *shell, } else { - if (*ret_fullpath) - g_free (*ret_fullpath); nsCOMPtr<nsILocalFile> file; filePicker->GetFile (getter_AddRefs(file)); nsCAutoString tempFullPathStr; |