Merge pull request #46 from lioncash/leak

Fix a memory leak within vfs.c in kopen.
This commit is contained in:
Kevin Lange 2014-05-21 17:55:49 -07:00
commit 18251f66c1

View File

@ -699,6 +699,7 @@ fs_node_t *kopen(char *filename, uint32_t flags) {
if (path_offset >= path+path_len) {
free(path);
free(node_ptr);
return mount_point;
}
/* Set the active directory to the mountpoint */