diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-04-29 13:15:21 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-04-29 13:15:21 +0100 |
commit | 8fbd19806560ed1af1d4264ba8a40e4d2abba0ff (patch) | |
tree | 4dbb06af119f081ca5902207c147c2398e9644b9 /src/libmime | |
parent | 852ec8126ca249debc59c5038ac58d5cbe96338f (diff) | |
download | rspamd-8fbd19806560ed1af1d4264ba8a40e4d2abba0ff.tar.gz rspamd-8fbd19806560ed1af1d4264ba8a40e4d2abba0ff.zip |
[Minor] Refactor destroy -> free
Diffstat (limited to 'src/libmime')
-rw-r--r-- | src/libmime/message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/message.c b/src/libmime/message.c index c1e3ff580..326db2038 100644 --- a/src/libmime/message.c +++ b/src/libmime/message.c @@ -777,7 +777,7 @@ rspamd_message_parse (struct rspamd_task *task) trecv->from_ip = trecv->real_ip; trecv->addr = rspamd_inet_address_copy (task->from_addr); rspamd_mempool_add_destructor (task->task_pool, - (rspamd_mempool_destruct_t)rspamd_inet_address_destroy, + (rspamd_mempool_destruct_t)rspamd_inet_address_free, trecv->addr); if (task->hostname) { |