You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Normally the result is malloc'ed so the free is appropriate in most circumstances. I will take a look at this again as vfs_getcwd() is not supported across all filing systems.
For example, in cmd_list_common function:
free(cwd);
whereas cwd is result from vfs_getcwd, which returns cwd, which is static char cwd[100] = "/";
The text was updated successfully, but these errors were encountered: