From 6ddd70cb46462c614faf216a9a3306309aff04bf Mon Sep 17 00:00:00 2001 From: pjd Date: Mon, 21 Mar 2011 14:51:16 +0000 Subject: [PATCH] Be pedantic and free nvout before exiting. MFC after: 1 week --- sbin/hastd/secondary.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sbin/hastd/secondary.c b/sbin/hastd/secondary.c index cf27789de610..082add037204 100644 --- a/sbin/hastd/secondary.c +++ b/sbin/hastd/secondary.c @@ -271,6 +271,7 @@ init_remote(struct hast_resource *res, struct nv *nvin) pjdlog_exit(EX_TEMPFAIL, "Unable to send response to %s", res->hr_remoteaddr); } + nv_free(nvout); exit(EX_CONFIG); } else if ( /* Is primary is out-of-date? */