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? */
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to