mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 03:24:17 +01:00
devoptab: Fix double free in __wut_fs_stat
The double free caused apps to crash when attempting to run stat on a directory
This commit is contained in:
parent
254de47b15
commit
6ea6625b78
@ -45,6 +45,5 @@ __wut_fs_stat(struct _reent *r,
|
||||
st->st_nlink = 1;
|
||||
st->st_mode = S_IFDIR | S_IRWXU | S_IRWXG | S_IRWXO;
|
||||
FSCloseDir(__wut_devoptab_fs_client, &cmd, fd, -1);
|
||||
free(fixedPath);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user