diff options
author | bertrand <Bertrand.Guiheneuf@aful.org> | 1999-09-01 19:53:18 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 1999-09-01 19:53:18 +0800 |
commit | f5be7984b2ea1a4c3591cc11090220c080216aec (patch) | |
tree | 5b68ba93733115cc451adce0b674ececa9122f2c /camel/hash-table-utils.c | |
parent | a5dc758170c40d86ee361f607eae62aa6e7509d8 (diff) | |
download | gsoc2013-evolution-f5be7984b2ea1a4c3591cc11090220c080216aec.tar gsoc2013-evolution-f5be7984b2ea1a4c3591cc11090220c080216aec.tar.gz gsoc2013-evolution-f5be7984b2ea1a4c3591cc11090220c080216aec.tar.bz2 gsoc2013-evolution-f5be7984b2ea1a4c3591cc11090220c080216aec.tar.lz gsoc2013-evolution-f5be7984b2ea1a4c3591cc11090220c080216aec.tar.xz 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/hash-table-utils.c')
-rw-r--r-- | camel/hash-table-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/hash-table-utils.c b/camel/hash-table-utils.c index fb3743109b..b78ee062a4 100644 --- a/camel/hash-table-utils.c +++ b/camel/hash-table-utils.c @@ -35,7 +35,7 @@ void g_hash_table_generic_free (gpointer key, gpointer value, gpointer user_data) { g_free (key); - if (value) g_free (value); + g_free (value); } |