diff options
author | Osma Ahvenlampi <oa@iki.fi> | 2003-05-06 06:37:30 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-05-06 06:37:30 +0800 |
commit | 9902a5b9f55a904589bc7651722445d1bde3a2ef (patch) | |
tree | d5ade23b28e1d32d9e66353ca9cd5a738552c69f /src/bookmarks/ephy-bookmarks-import.c | |
parent | bf389ed5fefee7aeffcf0b44c050fea7a19780bc (diff) | |
download | gsoc2013-epiphany-9902a5b9f55a904589bc7651722445d1bde3a2ef.tar.gz gsoc2013-epiphany-9902a5b9f55a904589bc7651722445d1bde3a2ef.tar.zst gsoc2013-epiphany-9902a5b9f55a904589bc7651722445d1bde3a2ef.zip |
Fix memory leak while saving bookmarks, and performance problem during
2003-05-04 Osma Ahvenlampi <oa@iki.fi>
* src/bookmarks/ephy-bookmarks.c:
* src/bookmarks/ephy-bookmarks.h:
* src/bookmarks/ephy-bookmarks-import.c:
* src/bookmarks/ephy-new-bookmark.c:
Fix memory leak while saving bookmarks, and performance problem
during import.
Diffstat (limited to 'src/bookmarks/ephy-bookmarks-import.c')
-rw-r--r-- | src/bookmarks/ephy-bookmarks-import.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bookmarks/ephy-bookmarks-import.c b/src/bookmarks/ephy-bookmarks-import.c index ebcc1a0e2..e767ad879 100644 --- a/src/bookmarks/ephy-bookmarks-import.c +++ b/src/bookmarks/ephy-bookmarks-import.c @@ -239,6 +239,8 @@ ephy_bookmarks_import_mozilla (EphyBookmarks *bookmarks, g_free (keyword); xmlFreeDoc (doc); + ephy_bookmarks_save (bookmarks); + return TRUE; } @@ -261,5 +263,7 @@ ephy_bookmarks_import_xbel (EphyBookmarks *bookmarks, xmlFreeDoc (doc); + ephy_bookmarks_save (bookmarks); + return TRUE; } |