From: Derrick Brashear Date: Mon, 31 Jul 2006 16:24:45 +0000 (+0000) Subject: DEVEL15-vos-avoid-freeing-null-pointers-20060731 X-Git-Tag: openafs-devel-1_5_5~23 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=e7fd2f5a2bce242f39762b56e685ab8dc637909d;p=packages%2Fo%2Fopenafs.git DEVEL15-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 78032164a..f425bfce5 100644 --- a/src/volser/vos.c +++ b/src/volser/vos.c @@ -2178,7 +2178,6 @@ MoveVolume(as) if (code) { fprintf(STDERR, "vos:cannot access volume %lu\n", (unsigned long)volid); - free(p); exit(1); } if (TESTM) @@ -2331,7 +2330,6 @@ CopyVolume(as) if (code) { fprintf(STDERR, "vos:cannot access volume %lu\n", (unsigned long)volid); - free(p); exit(1); }