summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/asr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/asr.c b/usr.sbin/smtpd/asr.c
index dd524c9bce7..0c069b1dc8a 100644
--- a/usr.sbin/smtpd/asr.c
+++ b/usr.sbin/smtpd/asr.c
@@ -770,8 +770,7 @@ asr_ctx_query(struct asr_ctx *ac, int type)
void
asr_done(struct asr *asr)
{
- if (asr_ctx_unref(asr->a_ctx))
- return;
+ asr_ctx_unref(asr->a_ctx);
if (asr->a_path)
free(asr->a_path);
free(asr);