diff options
author | Kjartan Maraas <kmaraas@gnome.org> | 2006-08-17 14:54:13 +0800 |
---|---|---|
committer | Kjartan Maraas <kmaraas@src.gnome.org> | 2006-08-17 14:54:13 +0800 |
commit | cb929003a2d5c780e468c48441f306ddfecc23bc (patch) | |
tree | 8cb973b1548ce1dd41b420f56e7c76f8573c3bd7 | |
parent | 800f71e24202a1aa798fd5fc759512d4a8222b17 (diff) | |
download | gsoc2013-evolution-cb929003a2d5c780e468c48441f306ddfecc23bc.tar.gz gsoc2013-evolution-cb929003a2d5c780e468c48441f306ddfecc23bc.tar.zst gsoc2013-evolution-cb929003a2d5c780e468c48441f306ddfecc23bc.zip |
Plug some leaks.
2006-08-17 Kjartan Maraas <kmaraas@gnome.org>
* e-user-creatable-items-handler.c: (new_button_change),
(setup_toolbar_button): Plug some leaks.
svn path=/trunk/; revision=32559
-rw-r--r-- | shell/ChangeLog | 5 | ||||
-rw-r--r-- | shell/e-user-creatable-items-handler.c | 2 |
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); } |