diff options
author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2011-03-21 14:51:16 +0000 |
---|---|---|
committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2011-03-21 14:51:16 +0000 |
commit | e208a185f06f8797cd774244221a340864c8617a (patch) | |
tree | aa4ea7753c4c7c97ab2336aa02103b3f9af7e8ae /sbin/hastd/secondary.c | |
parent | 38ea70cadfbfff29bcc1da315f9f67e846364be6 (diff) | |
download | src-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.c | 1 |
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? */ |