Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/sysinst Oops, avoid double free.



details:   https://anonhg.NetBSD.org/src/rev/86f0344887ed
branches:  trunk
changeset: 1002828:86f0344887ed
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Aug 17 18:08:06 2019 +0000

description:
Oops, avoid double free.

diffstat:

 usr.sbin/sysinst/install.c |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (18 lines):

diff -r d859de9ad872 -r 86f0344887ed usr.sbin/sysinst/install.c
--- a/usr.sbin/sysinst/install.c        Sat Aug 17 18:03:12 2019 +0000
+++ b/usr.sbin/sysinst/install.c        Sat Aug 17 18:08:06 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: install.c,v 1.10 2019/08/17 18:03:12 martin Exp $      */
+/*     $NetBSD: install.c,v 1.11 2019/08/17 18:08:06 martin Exp $      */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -214,8 +214,6 @@
 
        md_cleanup_install(&install);
 
-       free(install.infos);
-
        hit_enter_to_continue(MSG_instcomplete, NULL);
 
 error:



Home | Main Index | Thread Index | Old Index