aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--src/bookmarks/ephy-open-tabs-action.c1
-rw-r--r--src/bookmarks/ephy-topic-action-group.c1
3 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8759cd6ea..c207ac430 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-01-23 Crispin Flowerday <gnome@flowerday.cx>
+
+ * src/bookmarks/ephy-open-tabs-action.c: (node_added_cb):
+ * src/bookmarks/ephy-topic-action-group.c: (node_added_cb):
+
+ Fix a couple of memory leaks
+
2006-01-23 Christian Persch <chpe@cvs.gnome.org>
* src/ephy-main.c:
diff --git a/src/bookmarks/ephy-open-tabs-action.c b/src/bookmarks/ephy-open-tabs-action.c
index 482ec84d1..3a06f6a57 100644
--- a/src/bookmarks/ephy-open-tabs-action.c
+++ b/src/bookmarks/ephy-open-tabs-action.c
@@ -77,6 +77,7 @@ node_added_cb (EphyNode *parent, EphyNode *child, GObject *object)
gtk_action_group_add_action (actions, action);
g_object_unref (action);
g_free (accel);
+ g_free (name);
}
static void
diff --git a/src/bookmarks/ephy-topic-action-group.c b/src/bookmarks/ephy-topic-action-group.c
index c7ecd7105..28bd8d458 100644
--- a/src/bookmarks/ephy-topic-action-group.c
+++ b/src/bookmarks/ephy-topic-action-group.c
@@ -70,6 +70,7 @@ node_added_cb (EphyNode *parent,
gtk_action_group_add_action (actions, action);
g_object_unref (action);
g_free (accel);
+ g_free (name);
ephy_topic_action_updated (EPHY_TOPIC_ACTION (action));
}