diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-09-01 19:28:19 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-09-01 19:28:19 +0400 |
commit | 5086821ae43d0283ed8b839c847ca267c3c81d2c (patch) | |
tree | ad708262e7f6351c1d329d6014cf00eb5274a9bb /src/message.c | |
parent | 5a225ccd5135cb52644a33563ca826b01c2deadb (diff) | |
download | rspamd-5086821ae43d0283ed8b839c847ca267c3c81d2c.tar.gz rspamd-5086821ae43d0283ed8b839c847ca267c3c81d2c.zip |
* Fix getting data wrapper for gmime24
Diffstat (limited to 'src/message.c')
-rw-r--r-- | src/message.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/message.c b/src/message.c index 7a2e80e78..39910ba7d 100644 --- a/src/message.c +++ b/src/message.c @@ -718,7 +718,9 @@ mime_foreach_callback (GMimeObject * part, gpointer user_data) else { msg_warn ("write to stream failed: %d, %s", errno, strerror (errno)); } +#ifndef GMIME24 g_object_unref (wrapper); +#endif } else { msg_warn ("cannot get wrapper for mime part, type of part: %s/%s", type->type, type->subtype); |