aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua_worker.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-04-29 13:15:21 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-04-29 13:15:21 +0100
commit8fbd19806560ed1af1d4264ba8a40e4d2abba0ff (patch)
tree4dbb06af119f081ca5902207c147c2398e9644b9 /src/lua_worker.c
parent852ec8126ca249debc59c5038ac58d5cbe96338f (diff)
downloadrspamd-8fbd19806560ed1af1d4264ba8a40e4d2abba0ff.tar.gz
rspamd-8fbd19806560ed1af1d4264ba8a40e4d2abba0ff.zip
[Minor] Refactor destroy -> free
Diffstat (limited to 'src/lua_worker.c')
-rw-r--r--src/lua_worker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua_worker.c b/src/lua_worker.c
index bd0a53a81..484f79722 100644
--- a/src/lua_worker.c
+++ b/src/lua_worker.c
@@ -289,7 +289,7 @@ lua_accept_socket (gint fd, short what, void *arg)
lua_pop (L, 1);
}
- rspamd_inet_address_destroy (addr);
+ rspamd_inet_address_free (addr);
close (nfd);
}