aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-07-18 01:09:38 +0800
committerDan Winship <danw@src.gnome.org>2003-07-18 01:09:38 +0800
commit1016194c44ba2ba83a202885d39284189fe840f1 (patch)
tree28c628c31db55380da195c555edcadff950bf396
parent9bcb908ca516ac24874af94ab2a5acc9af437170 (diff)
downloadgsoc2013-evolution-1016194c44ba2ba83a202885d39284189fe840f1.tar.gz
gsoc2013-evolution-1016194c44ba2ba83a202885d39284189fe840f1.tar.zst
gsoc2013-evolution-1016194c44ba2ba83a202885d39284189fe840f1.zip
free the folder_type
* e-shell-user-creatable-items-handler.c (free_menu_items): free the folder_type * e-splash.c (e_splash_new): Unref the pixbuf. * evolution-shell-component.c (impl_finalize): Add some missing frees. (user_creatable_item_type_free): free the tooltip svn path=/trunk/; revision=21859
-rw-r--r--shell/ChangeLog11
-rw-r--r--shell/e-shell-user-creatable-items-handler.c1
-rw-r--r--shell/e-splash.c2
-rw-r--r--shell/evolution-shell-component.c3
4 files changed, 16 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 4c1d84e01e..ae2a31ab62 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,14 @@
+2003-07-01 Dan Winship <danw@ximian.com>
+
+ * e-shell-user-creatable-items-handler.c (free_menu_items): free
+ the folder_type
+
+ * e-splash.c (e_splash_new): Unref the pixbuf.
+
+ * evolution-shell-component.c (impl_finalize): Add some missing
+ frees.
+ (user_creatable_item_type_free): free the tooltip
+
2003-07-09 Ettore Perazzoli <ettore@ximian.com>
* e-shell-folder-commands.c (e_shell_command_rename_folder): Do
diff --git a/shell/e-shell-user-creatable-items-handler.c b/shell/e-shell-user-creatable-items-handler.c
index adf98cedb3..73747eb3a2 100644
--- a/shell/e-shell-user-creatable-items-handler.c
+++ b/shell/e-shell-user-creatable-items-handler.c
@@ -251,6 +251,7 @@ free_menu_items (GSList *menu_items)
g_object_unref (item->icon);
g_free (item->component_id);
+ g_free (item->folder_type);
g_free (item);
}
diff --git a/shell/e-splash.c b/shell/e-splash.c
index a6bb79e98c..7168e2b387 100644
--- a/shell/e-splash.c
+++ b/shell/e-splash.c
@@ -379,7 +379,7 @@ e_splash_new (void)
new = g_object_new (e_splash_get_type (), NULL);
e_splash_construct (new, splash_image_pixbuf);
- /* g_object_unref (splash_image_pixbuf); */
+ g_object_unref (splash_image_pixbuf);
return GTK_WIDGET (new);
}
diff --git a/shell/evolution-shell-component.c b/shell/evolution-shell-component.c
index b263b0f28d..7cc79d389f 100644
--- a/shell/evolution-shell-component.c
+++ b/shell/evolution-shell-component.c
@@ -136,6 +136,7 @@ user_creatable_item_type_free (UserCreatableItemType *type)
g_free (type->id);
g_free (type->description);
g_free (type->menu_description);
+ g_free (type->tooltip);
g_free (type->folder_type);
if (type->icon != NULL)
@@ -820,6 +821,8 @@ impl_finalize (GObject *object)
g_free (folder_type->name);
g_free (folder_type->icon_name);
+ g_free (folder_type->display_name);
+ g_free (folder_type->description);
g_strfreev (folder_type->exported_dnd_types);
g_strfreev (folder_type->accepted_dnd_types);