diff options
Diffstat (limited to 'embed')
-rw-r--r-- | embed/mozilla/mozilla-embed-persist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/mozilla/mozilla-embed-persist.cpp b/embed/mozilla/mozilla-embed-persist.cpp index bdee54171..41b7ffd4b 100644 --- a/embed/mozilla/mozilla-embed-persist.cpp +++ b/embed/mozilla/mozilla-embed-persist.cpp @@ -169,8 +169,8 @@ impl_save (EphyEmbedPersist *persist) char *tmp_filename, *base; base = g_build_filename (g_get_tmp_dir (), "sav-XXXXXX", NULL); tmp_filename = ephy_file_tmp_filename (base, "html"); - if (tmp_filename == NULL) return FALSE; g_free (base); + if (tmp_filename == NULL) return FALSE; nsCOMPtr<nsILocalFile> tmpFile = do_CreateInstance (NS_LOCAL_FILE_CONTRACTID); tmpFile->InitWithNativePath (nsDependentCString (tmp_filename)); |