aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-04-29 13:42:54 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-04-29 13:42:54 +0100
commit14bf5f8b44252eb51f595570ee510465c56e1ada (patch)
treec50aec3c1c24e8a691de93b378efb465512a932f
parent8fbd19806560ed1af1d4264ba8a40e4d2abba0ff (diff)
downloadrspamd-14bf5f8b44252eb51f595570ee510465c56e1ada.tar.gz
rspamd-14bf5f8b44252eb51f595570ee510465c56e1ada.zip
[Minor] Fix destroy->free transition
-rw-r--r--src/ragel/smtp_received_parser.rl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ragel/smtp_received_parser.rl b/src/ragel/smtp_received_parser.rl
index b22f34f03..87cb73e88 100644
--- a/src/ragel/smtp_received_parser.rl
+++ b/src/ragel/smtp_received_parser.rl
@@ -300,7 +300,7 @@ rspamd_smtp_recieved_parse (struct rspamd_task *task, const char *data, size_t l
if (rh->real_ip) {
if (rspamd_parse_inet_address (&rh->addr, rh->real_ip, strlen (rh->real_ip))) {
rspamd_mempool_add_destructor (task->task_pool,
- (rspamd_mempool_destruct_t)rspamd_inet_address_destroy, rh->addr);
+ (rspamd_mempool_destruct_t)rspamd_inet_address_free, rh->addr);
}
}