aboutsummaryrefslogtreecommitdiff
path: root/sbin/hastd/secondary.c
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2011-03-21 14:51:16 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2011-03-21 14:51:16 +0000
commite208a185f06f8797cd774244221a340864c8617a (patch)
treeaa4ea7753c4c7c97ab2336aa02103b3f9af7e8ae /sbin/hastd/secondary.c
parent38ea70cadfbfff29bcc1da315f9f67e846364be6 (diff)
downloadsrc-e208a185f06f8797cd774244221a340864c8617a.tar.gz
src-e208a185f06f8797cd774244221a340864c8617a.zip
Be pedantic and free nvout before exiting.
MFC after: 1 week
Notes
Notes: svn path=/head/; revision=219831
Diffstat (limited to 'sbin/hastd/secondary.c')
-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 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? */