aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/monitored.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/libserver/monitored.c
parent852ec8126ca249debc59c5038ac58d5cbe96338f (diff)
downloadrspamd-8fbd19806560ed1af1d4264ba8a40e4d2abba0ff.tar.gz
rspamd-8fbd19806560ed1af1d4264ba8a40e4d2abba0ff.zip
[Minor] Refactor destroy -> free
Diffstat (limited to 'src/libserver/monitored.c')
-rw-r--r--src/libserver/monitored.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libserver/monitored.c b/src/libserver/monitored.c
index a7b3fb37d..09d642d09 100644
--- a/src/libserver/monitored.c
+++ b/src/libserver/monitored.c
@@ -285,11 +285,11 @@ rspamd_monitored_dns_cb (struct rdns_reply *reply, void *arg)
rspamd_monitored_propagate_error (m,
"invalid address");
- rspamd_inet_address_destroy (addr);
+ rspamd_inet_address_free (addr);
}
else {
rspamd_monitored_propagate_success (m, lat);
- rspamd_inet_address_destroy (addr);
+ rspamd_inet_address_free (addr);
}
}
}