From 9902a5b9f55a904589bc7651722445d1bde3a2ef Mon Sep 17 00:00:00 2001 From: Osma Ahvenlampi Date: Mon, 5 May 2003 22:37:30 +0000 Subject: Fix memory leak while saving bookmarks, and performance problem during 2003-05-04 Osma Ahvenlampi * 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. --- src/bookmarks/ephy-bookmarks-import.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/bookmarks/ephy-bookmarks-import.c') 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; } -- cgit