diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-03-02 21:44:02 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-03-02 21:44:02 +0300 |
commit | 0f2f88a6157250fecb9ce5d8d28b02b99739a2d2 (patch) | |
tree | 154d2efebe84ad274de17fef59756a4a46ff09fa /src/message.c | |
parent | 2d18269774d7541f3690973d568187c7e45448e5 (diff) | |
download | rspamd-0f2f88a6157250fecb9ce5d8d28b02b99739a2d2.tar.gz rspamd-0f2f88a6157250fecb9ce5d8d28b02b99739a2d2.zip |
Try to fix memory issues.
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 0a88ab0f7..86e333dc1 100644 --- a/src/message.c +++ b/src/message.c @@ -837,7 +837,9 @@ mime_foreach_callback (GMimeObject * part, gpointer user_data) msg_err ("endless recursion detected: %d", task->parser_recursion); return; } +#ifndef GMIME24 g_object_unref (message); +#endif } else if (GMIME_IS_MESSAGE_PARTIAL (part)) { /* message/partial */ |