aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCrispin Flowerday <gnome@flowerday.cx>2006-01-24 06:44:10 +0800
committerCrispin Flowerday <crispin@src.gnome.org>2006-01-24 06:44:10 +0800
commit5d9f8f7e140bb2be9abf7a5906a0930cb239133b (patch)
tree7c3cdf0b0f3b439adf38ce57ca4ea406f3226f00
parentbbf4390b5b18db2f33bd8f179fbfe04ba82fb6e1 (diff)
downloadgsoc2013-epiphany-5d9f8f7e140bb2be9abf7a5906a0930cb239133b.tar
gsoc2013-epiphany-5d9f8f7e140bb2be9abf7a5906a0930cb239133b.tar.gz
gsoc2013-epiphany-5d9f8f7e140bb2be9abf7a5906a0930cb239133b.tar.bz2
gsoc2013-epiphany-5d9f8f7e140bb2be9abf7a5906a0930cb239133b.tar.lz
gsoc2013-epiphany-5d9f8f7e140bb2be9abf7a5906a0930cb239133b.tar.xz
gsoc2013-epiphany-5d9f8f7e140bb2be9abf7a5906a0930cb239133b.tar.zst
gsoc2013-epiphany-5d9f8f7e140bb2be9abf7a5906a0930cb239133b.zip
Fix a couple of memory leaks
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
-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));
}