aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-user-creatable-items-handler.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 1bfe966222..f6021d1983 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,8 @@
+2006-08-17 Kjartan Maraas <kmaraas@gnome.org>
+
+ * e-user-creatable-items-handler.c: (new_button_change),
+ (setup_toolbar_button): Plug some leaks.
+
2006-08-02 Andre Klapper <a9016009@gmx.de>
* main.c: update last stable version number from 2.6.2 to 2.6.3
diff --git a/shell/e-user-creatable-items-handler.c b/shell/e-user-creatable-items-handler.c
index c3f888235f..486990481b 100644
--- a/shell/e-user-creatable-items-handler.c
+++ b/shell/e-user-creatable-items-handler.c
@@ -709,6 +709,7 @@ new_button_change (GConfClient *gconf,
set_combo_button_style (E_COMBO_BUTTON (priv->new_button),
val, priv->default_menu_item->icon);
+ g_free (val);
gtk_widget_show (priv->new_button);
}
@@ -756,6 +757,7 @@ setup_toolbar_button (EUserCreatableItemsHandler *handler)
gtk_object_sink (GTK_OBJECT (priv->tooltips));
gtk_tooltips_set_tip (priv->tooltips, priv->new_button,
priv->default_menu_item->tooltip, NULL);
+ g_free (val);
}