aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamd_proxy.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/rspamd_proxy.c
parent852ec8126ca249debc59c5038ac58d5cbe96338f (diff)
downloadrspamd-8fbd19806560ed1af1d4264ba8a40e4d2abba0ff.tar.gz
rspamd-8fbd19806560ed1af1d4264ba8a40e4d2abba0ff.zip
[Minor] Refactor destroy -> free
Diffstat (limited to 'src/rspamd_proxy.c')
-rw-r--r--src/rspamd_proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamd_proxy.c b/src/rspamd_proxy.c
index 97215d7c4..992a4f08d 100644
--- a/src/rspamd_proxy.c
+++ b/src/rspamd_proxy.c
@@ -848,7 +848,7 @@ proxy_session_dtor (struct rspamd_proxy_session *session)
g_ptr_array_free (session->mirror_conns, TRUE);
rspamd_http_message_shmem_unref (session->shmem_ref);
rspamd_http_message_unref (session->client_message);
- rspamd_inet_address_destroy (session->client_addr);
+ rspamd_inet_address_free (session->client_addr);
close (session->client_sock);
rspamd_mempool_delete (session->pool);
g_slice_free1 (sizeof (*session), session);