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/lua/lua_ip.c | |
parent | 852ec8126ca249debc59c5038ac58d5cbe96338f (diff) | |
download | rspamd-8fbd19806560ed1af1d4264ba8a40e4d2abba0ff.tar.gz rspamd-8fbd19806560ed1af1d4264ba8a40e4d2abba0ff.zip |
[Minor] Refactor destroy -> free
Diffstat (limited to 'src/lua/lua_ip.c')
-rw-r--r-- | src/lua/lua_ip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_ip.c b/src/lua/lua_ip.c index 6499a657d..a604685aa 100644 --- a/src/lua/lua_ip.c +++ b/src/lua/lua_ip.c @@ -404,7 +404,7 @@ lua_ip_destroy (lua_State *L) if (ip) { if (ip->addr) { - rspamd_inet_address_destroy (ip->addr); + rspamd_inet_address_free (ip->addr); } g_slice_free1 (sizeof (struct rspamd_lua_ip), ip); } |