aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-new-bookmark.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-06-07 07:00:38 +0800
committerChristian Persch <chpe@src.gnome.org>2003-06-07 07:00:38 +0800
commitcda0a0c5e93e986a83bfeb27c2faf48fa3f3d1ae (patch)
treeaa44f662c6b670985459e7b3e3e4b333f9084fe9 /src/bookmarks/ephy-new-bookmark.c
parentf6d5d88afad2d84ae8be385a1d63c8858cb78b5c (diff)
downloadgsoc2013-epiphany-cda0a0c5e93e986a83bfeb27c2faf48fa3f3d1ae.tar
gsoc2013-epiphany-cda0a0c5e93e986a83bfeb27c2faf48fa3f3d1ae.tar.gz
gsoc2013-epiphany-cda0a0c5e93e986a83bfeb27c2faf48fa3f3d1ae.tar.bz2
gsoc2013-epiphany-cda0a0c5e93e986a83bfeb27c2faf48fa3f3d1ae.tar.lz
gsoc2013-epiphany-cda0a0c5e93e986a83bfeb27c2faf48fa3f3d1ae.tar.xz
gsoc2013-epiphany-cda0a0c5e93e986a83bfeb27c2faf48fa3f3d1ae.tar.zst
gsoc2013-epiphany-cda0a0c5e93e986a83bfeb27c2faf48fa3f3d1ae.zip
Fix mem leak.
2003-06-07 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (impl_get_value): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_add): Fix mem leak.
Diffstat (limited to 'src/bookmarks/ephy-new-bookmark.c')
-rw-r--r--src/bookmarks/ephy-new-bookmark.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bookmarks/ephy-new-bookmark.c b/src/bookmarks/ephy-new-bookmark.c
index 05dcae622..69e190ebc 100644
--- a/src/bookmarks/ephy-new-bookmark.c
+++ b/src/bookmarks/ephy-new-bookmark.c
@@ -174,6 +174,8 @@ ephy_new_bookmark_add (EphyNewBookmark *new_bookmark)
new_bookmark->priv->icon);
}
+ g_free (title);
+
ephy_bookmarks_save (new_bookmark->priv->bookmarks);
}