summaryrefslogtreecommitdiffstats
path: root/utils/rspamd_http_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/rspamd_http_server.c')
-rw-r--r--utils/rspamd_http_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/rspamd_http_server.c b/utils/rspamd_http_server.c
index 69ef852e6..722a52103 100644
--- a/utils/rspamd_http_server.c
+++ b/utils/rspamd_http_server.c
@@ -148,7 +148,7 @@ rspamd_server_accept (gint fd, short what, void *arg)
return;
}
- rspamd_inet_address_destroy (addr);
+ rspamd_inet_address_free (addr);
session = g_slice_alloc (sizeof (*session));
session->conn = rspamd_http_connection_new (NULL,
rspamd_server_error,