svn commit: r219831 - head/sbin/hastd
Pawel Jakub Dawidek
pjd at FreeBSD.org
Mon Mar 21 14:51:16 UTC 2011
Author: pjd
Date: Mon Mar 21 14:51:16 2011
New Revision: 219831
URL: http://svn.freebsd.org/changeset/base/219831
Log:
Be pedantic and free nvout before exiting.
MFC after: 1 week
Modified:
head/sbin/hastd/secondary.c
Modified: head/sbin/hastd/secondary.c
==============================================================================
--- head/sbin/hastd/secondary.c Mon Mar 21 14:50:12 2011 (r219830)
+++ head/sbin/hastd/secondary.c Mon Mar 21 14:51:16 2011 (r219831)
@@ -271,6 +271,7 @@ init_remote(struct hast_resource *res, s
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? */
More information about the svn-src-head
mailing list