aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-bookmarks-import.c
diff options
context:
space:
mode:
authorOsma Ahvenlampi <oa@iki.fi>2003-05-06 06:37:30 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-05-06 06:37:30 +0800
commit9902a5b9f55a904589bc7651722445d1bde3a2ef (patch)
treed5ade23b28e1d32d9e66353ca9cd5a738552c69f /src/bookmarks/ephy-bookmarks-import.c
parentbf389ed5fefee7aeffcf0b44c050fea7a19780bc (diff)
downloadgsoc2013-epiphany-9902a5b9f55a904589bc7651722445d1bde3a2ef.tar
gsoc2013-epiphany-9902a5b9f55a904589bc7651722445d1bde3a2ef.tar.gz
gsoc2013-epiphany-9902a5b9f55a904589bc7651722445d1bde3a2ef.tar.bz2
gsoc2013-epiphany-9902a5b9f55a904589bc7651722445d1bde3a2ef.tar.lz
gsoc2013-epiphany-9902a5b9f55a904589bc7651722445d1bde3a2ef.tar.xz
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.c4
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;
}