mirror of
https://git.openafs.org/openafs.git
synced 2025-02-01 05:57:43 +00:00
STABLE14-vos-avoid-freeing-null-pointers-20060731
FIXES 36441 pretty obvious. don't. (cherry picked from commit 77c502047025d8073e4cd35c5e4851fd1d2eb369)
This commit is contained in:
parent
0f94fd9eb5
commit
14842c6a0a
@ -2174,7 +2174,6 @@ MoveVolume(as)
|
|||||||
if (code) {
|
if (code) {
|
||||||
fprintf(STDERR, "vos:cannot access volume %lu\n",
|
fprintf(STDERR, "vos:cannot access volume %lu\n",
|
||||||
(unsigned long)volid);
|
(unsigned long)volid);
|
||||||
free(p);
|
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
if (TESTM)
|
if (TESTM)
|
||||||
@ -2327,7 +2326,6 @@ CopyVolume(as)
|
|||||||
if (code) {
|
if (code) {
|
||||||
fprintf(STDERR, "vos:cannot access volume %lu\n",
|
fprintf(STDERR, "vos:cannot access volume %lu\n",
|
||||||
(unsigned long)volid);
|
(unsigned long)volid);
|
||||||
free(p);
|
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user