diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-07-18 17:51:08 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-07-18 17:51:26 +0100 |
commit | 2395e17750aa96d37fbf45b355fbc9fcbf6f2491 (patch) | |
tree | 93271a7a55a227b42e8a44062ef13c44be23132a /src/lua/lua_http.c | |
parent | 88c07077e25bbd57c441c49cd667678d2492693c (diff) | |
download | rspamd-2395e17750aa96d37fbf45b355fbc9fcbf6f2491.tar.gz rspamd-2395e17750aa96d37fbf45b355fbc9fcbf6f2491.zip |
[Minor] Use refcounts for http messages
Diffstat (limited to 'src/lua/lua_http.c')
-rw-r--r-- | src/lua/lua_http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_http.c b/src/lua/lua_http.c index 0c4eb976d..a63a7e489 100644 --- a/src/lua/lua_http.c +++ b/src/lua/lua_http.c @@ -96,7 +96,7 @@ lua_http_fin (gpointer arg) } else if (cbd->msg != NULL) { /* We need to free message */ - rspamd_http_message_free (cbd->msg); + rspamd_http_message_unref (cbd->msg); } if (cbd->fd != -1) { |