Author: pjd Date: Mon Jun 14 21:37:25 2010 New Revision: 209181 URL: http://svn.freebsd.org/changeset/base/209181
Log: Plug memory leak. Found by: Coverity Prevent CID: 7056 MFC after: 3 days Modified: head/sbin/hastd/primary.c Modified: head/sbin/hastd/primary.c ============================================================================== --- head/sbin/hastd/primary.c Mon Jun 14 21:33:18 2010 (r209180) +++ head/sbin/hastd/primary.c Mon Jun 14 21:37:25 2010 (r209181) @@ -447,6 +447,7 @@ init_local(struct hast_resource *res) primary_exit(EX_NOINPUT, "Unable to read activemap"); } activemap_copyin(res->hr_amp, buf, mapsize); + free(buf); if (res->hr_resuid != 0) return; /* _______________________________________________ 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"