From: Derrick Brashear Date: Mon, 31 Jul 2006 16:24:09 +0000 (+0000) Subject: STABLE14-vos-avoid-freeing-null-pointers-20060731 X-Git-Tag: openafs-stable-1_4_2b3~27 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=14842c6a0a678128f1c78891796df44c950ec4c7;p=packages%2Fo%2Fopenafs.git STABLE14-vos-avoid-freeing-null-pointers-20060731 FIXES 36441 pretty obvious. don't. (cherry picked from commit 77c502047025d8073e4cd35c5e4851fd1d2eb369) --- diff --git a/src/volser/vos.c b/src/volser/vos.c index 7e2a6030d..14bcfa173 100644 --- a/src/volser/vos.c +++ b/src/volser/vos.c @@ -2174,7 +2174,6 @@ MoveVolume(as) if (code) { fprintf(STDERR, "vos:cannot access volume %lu\n", (unsigned long)volid); - free(p); exit(1); } if (TESTM) @@ -2327,7 +2326,6 @@ CopyVolume(as) if (code) { fprintf(STDERR, "vos:cannot access volume %lu\n", (unsigned long)volid); - free(p); exit(1); }