Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/dist/am-utils/amd kill double-free
details: https://anonhg.NetBSD.org/src/rev/a4a6662012e2
branches: trunk
changeset: 539952:a4a6662012e2
user: christos <christos%NetBSD.org@localhost>
date: Fri Nov 29 23:11:26 2002 +0000
description:
kill double-free
diffstat:
dist/am-utils/amd/map.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diffs (19 lines):
diff -r e3eafc936f06 -r a4a6662012e2 dist/am-utils/amd/map.c
--- a/dist/am-utils/amd/map.c Fri Nov 29 23:10:40 2002 +0000
+++ b/dist/am-utils/amd/map.c Fri Nov 29 23:11:26 2002 +0000
@@ -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 @@
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++)
Home |
Main Index |
Thread Index |
Old Index