aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-stream-fs.c
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>1999-09-01 19:53:18 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-09-01 19:53:18 +0800
commitf5be7984b2ea1a4c3591cc11090220c080216aec (patch)
tree5b68ba93733115cc451adce0b674ececa9122f2c /camel/camel-stream-fs.c
parenta5dc758170c40d86ee361f607eae62aa6e7509d8 (diff)
downloadgsoc2013-evolution-f5be7984b2ea1a4c3591cc11090220c080216aec.tar.gz
gsoc2013-evolution-f5be7984b2ea1a4c3591cc11090220c080216aec.tar.zst
gsoc2013-evolution-f5be7984b2ea1a4c3591cc11090220c080216aec.zip
When using g_free (obj) don't test if obj != NULL g_free () already do
1999-09-01 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-folder.c (_finalize): (_set_name): * camel/camel-mime-message.c (_finalize): * camel/camel-mime-part.c (_finalize): (_set_description): (_set_disposition): * camel/camel-service.c (_finalize): * camel/camel-stream-fs.c (_finalize): * camel/gmime-content-field.c: (gmime_content_field_construct_from_string): * camel/url-util.c (g_url_free): When using g_free (obj) don't test if obj != NULL g_free () already do that. Thanks to elerium for the feedback. 19 svn path=/trunk/; revision=1151
Diffstat (limited to 'camel/camel-stream-fs.c')
-rw-r--r--camel/camel-stream-fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-stream-fs.c b/camel/camel-stream-fs.c
index 8c62d516cc..e5fad1449f 100644
--- a/camel/camel-stream-fs.c
+++ b/camel/camel-stream-fs.c
@@ -137,7 +137,7 @@ _finalize (GtkObject *object)
CAMEL_LOG_FULL_DEBUG ("Entering CamelStreamFs::finalize\n");
- if (stream_fs->name) g_free (stream_fs->name);
+ g_free (stream_fs->name);
GTK_OBJECT_CLASS (parent_class)->finalize (object);
CAMEL_LOG_FULL_DEBUG ("Leaving CamelStreamFs::finalize\n");