Skip to content

Commit

Permalink
Fixed vnode access in readFileToBuffer
Browse files Browse the repository at this point in the history
  • Loading branch information
vit9696 committed May 14, 2016
1 parent 9cc6f75 commit eacc95d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Common/kern_file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ uint8_t *FileIO::readFileToBuffer(const char *path, size_t &size) {
} else {
SYSLOG("file @ failed to obtain %s size", path);
}
vnode_put(vnode);
} else {
SYSLOG("file @ failed to find %s", path);
}
Expand Down

0 comments on commit eacc95d

Please sign in to comment.