From 2b9b247d73e6187ab9c354bb06ebde90a7c20a62 Mon Sep 17 00:00:00 2001 From: martin Date: Sat, 17 Aug 2019 18:08:06 +0000 Subject: [PATCH] Oops, avoid double free. --- usr.sbin/sysinst/install.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/usr.sbin/sysinst/install.c b/usr.sbin/sysinst/install.c index cf9e93816420..84a1fe055897 100644 --- a/usr.sbin/sysinst/install.c +++ b/usr.sbin/sysinst/install.c @@ -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 @@ do_install(void) md_cleanup_install(&install); - free(install.infos); - hit_enter_to_continue(MSG_instcomplete, NULL); error: