kill double-free

This commit is contained in:
christos 2002-11-29 23:11:26 +00:00
parent 56e4ffe15e
commit d2f6d7c61e

View File

@ -1,4 +1,4 @@
/* $NetBSD: map.c,v 1.1.1.5 2002/11/29 22:58:14 christos Exp $ */
/* $NetBSD: map.c,v 1.2 2002/11/29 23:11:26 christos Exp $ */
/*
* Copyright (c) 1997-2002 Erez Zadok
@ -404,9 +404,6 @@ free_map(am_node *mp)
if (mp->am_mnt)
free_mntfs(mp->am_mnt);
if (mp->am_transp)
XFREE(mp->am_transp);
if (mp->am_mfarray) {
mntfs **temp_mf;
for (temp_mf = mp->am_mfarray; *temp_mf; temp_mf++)