git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Don't cast arguments to free()
[openafs.git]
/
src
/
volser
/
dumpstuff.c
diff --git
a/src/volser/dumpstuff.c
b/src/volser/dumpstuff.c
index
91f725c
..
be52de2
100644
(file)
--- a/
src/volser/dumpstuff.c
+++ b/
src/volser/dumpstuff.c
@@
-1295,9
+1295,9
@@
RestoreVolume(struct rx_call *call, Volume * avp, int incremental,
out:
/* Free the malloced space above */
if (b1)
- free((char *)b1);
+ free(b1);
if (b2)
- free((char *)b2);
+ free(b2);
return error;
}