aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks
diff options
context:
space:
mode:
Diffstat (limited to 'src/bookmarks')
-rw-r--r--src/bookmarks/ephy-bookmark-action-group.c1
-rw-r--r--src/bookmarks/ephy-bookmarks.c6
2 files changed, 5 insertions, 2 deletions
diff --git a/src/bookmarks/ephy-bookmark-action-group.c b/src/bookmarks/ephy-bookmark-action-group.c
index e9b2c970c..4a8897e1f 100644
--- a/src/bookmarks/ephy-bookmark-action-group.c
+++ b/src/bookmarks/ephy-bookmark-action-group.c
@@ -114,6 +114,7 @@ node_added_cb (EphyNode *parent,
gtk_action_group_add_action (actions, action);
g_object_unref (action);
g_free (accel);
+ g_free (name);
ephy_bookmark_action_updated (EPHY_BOOKMARK_ACTION (action));
diff --git a/src/bookmarks/ephy-bookmarks.c b/src/bookmarks/ephy-bookmarks.c
index f6f6acd89..0aa4ef175 100644
--- a/src/bookmarks/ephy-bookmarks.c
+++ b/src/bookmarks/ephy-bookmarks.c
@@ -1570,13 +1570,15 @@ ephy_bookmarks_get_favorites (EphyBookmarks *eb)
return eb->priv->favorites;
}
-#ifdef ENABLE_ZEROCONF
EphyNode *
ephy_bookmarks_get_local (EphyBookmarks *eb)
{
+#ifdef ENABLE_ZEROCONF
return eb->priv->local;
-}
+#else
+ return NULL;
#endif
+}
EphyNode *
ephy_bookmarks_get_not_categorized (EphyBookmarks *eb)