summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2011-03-21 14:51:16 +0000
committerpjd <pjd@FreeBSD.org>2011-03-21 14:51:16 +0000
commit6ddd70cb46462c614faf216a9a3306309aff04bf (patch)
treeaa4ea7753c4c7c97ab2336aa02103b3f9af7e8ae /sbin
parent421e84b77e740bfade4f141a097f2a557147b1a2 (diff)
downloadFreeBSD-src-6ddd70cb46462c614faf216a9a3306309aff04bf.zip
FreeBSD-src-6ddd70cb46462c614faf216a9a3306309aff04bf.tar.gz
Be pedantic and free nvout before exiting.
MFC after: 1 week
Diffstat (limited to 'sbin')
-rw-r--r--sbin/hastd/secondary.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/hastd/secondary.c b/sbin/hastd/secondary.c
index cf27789..082add0 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? */
OpenPOWER on IntegriCloud