Change Summary:
As mentioned by jbk on IRC:
-malloc
replaced bycalloc
.
-Missedfree(hp->prog)
.
Diff: |
Revision 3 (+14 -12) |
---|
-
-
usr/src/lib/libdiskmgt/common/inuse_fs.c (Diff revision 3) you can move this free to line 276, just before free(hp). free() is nop if the argument is NULL, and calloc does give you zeroed memory.