Fixed freeing upcase in ntfsfix (avoiding memory leak detection)
Under some error condition, the upcase table was not freed. Just cosmetic fix to avoid a memory leak detection.edge.strict_endians
parent
2594a6c983
commit
1e7d8809a8
|
@ -832,8 +832,10 @@ error_exit:
|
|||
}
|
||||
eo = errno;
|
||||
free(bs);
|
||||
if (vol)
|
||||
if (vol) {
|
||||
free(vol->upcase);
|
||||
free(vol);
|
||||
}
|
||||
if (dev_open) {
|
||||
(dev->d_ops->close)(dev);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue