Module Name: src Committed By: christos Date: Thu Jan 21 16:58:36 UTC 2016
Modified Files: src/sys/arch/mipsco/stand/installboot: installboot.c Log Message: PR/50683: David Binderman: Fix memory leak. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/mipsco/stand/installboot/installboot.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/mipsco/stand/installboot/installboot.c diff -u src/sys/arch/mipsco/stand/installboot/installboot.c:1.9 src/sys/arch/mipsco/stand/installboot/installboot.c:1.10 --- src/sys/arch/mipsco/stand/installboot/installboot.c:1.9 Thu Jun 27 17:23:21 2013 +++ src/sys/arch/mipsco/stand/installboot/installboot.c Thu Jan 21 11:58:36 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: installboot.c,v 1.9 2013/06/27 21:23:21 christos Exp $ */ +/* $NetBSD: installboot.c,v 1.10 2016/01/21 16:58:36 christos Exp $ */ /* * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -208,6 +208,7 @@ do_install(const char *disk, const char if (nowrite) { if (verbose) fprintf(stderr, "not writing\n"); + free(boot_code); return; }