diff options
author | pjd <pjd@FreeBSD.org> | 2011-03-21 14:51:16 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2011-03-21 14:51:16 +0000 |
commit | 6ddd70cb46462c614faf216a9a3306309aff04bf (patch) | |
tree | aa4ea7753c4c7c97ab2336aa02103b3f9af7e8ae /sbin | |
parent | 421e84b77e740bfade4f141a097f2a557147b1a2 (diff) | |
download | FreeBSD-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.c | 1 |
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? */ |