Eliminate a memory leak.

This commit is contained in:
itohy 1998-10-05 19:50:40 +00:00
parent eaf4c8b985
commit ec8a0e8dad
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: main.c,v 1.36 1998/06/30 03:30:56 jonathan Exp $ */
/* $NetBSD: main.c,v 1.37 1998/10/05 19:50:40 itohy Exp $ */
/*
* Copyright (c) 1992, 1993
@ -324,6 +324,7 @@ mksymlinks()
if (ret)
(void)fprintf(stderr, "config: symlink(machine -> %s): %s\n",
p, strerror(errno));
free(p);
if (machinearch != NULL) {
sprintf(buf, "arch/%s/include", machinearch);