Date: Fri, 5 Feb 2010 00:43:21 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 174337 for review Message-ID: <201002050043.o150hLLn035211@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/chv.cgi?CH=174337 Change 174337 by rwatson@rwatson_vimage_client on 2010/02/05 00:42:38 Add missing free() call to lch_stop(). Spotted by: kris Affected files ... .. //depot/projects/trustedbsd/capabilities/src/lib/libcapsicum/libcapsicum_host.c#17 edit Differences ... ==== //depot/projects/trustedbsd/capabilities/src/lib/libcapsicum/libcapsicum_host.c#17 (text+ko) ==== @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $P4: //depot/projects/trustedbsd/capabilities/src/lib/libcapsicum/libcapsicum_host.c#16 $ + * $P4: //depot/projects/trustedbsd/capabilities/src/lib/libcapsicum/libcapsicum_host.c#17 $ */ #include <sys/param.h> @@ -367,6 +367,7 @@ lcsp->lcs_fd_sock = -1; lcsp->lcs_fd_procdesc = -1; lcsp->lcs_pid = -1; + free(lcsp); } int
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002050043.o150hLLn035211>