mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix extfs fsmarshall symlink error case.
This commit is contained in:
parent
0da44df5ce
commit
7953023517
1 changed files with 1 additions and 0 deletions
|
@ -536,6 +536,7 @@ void HandleSymlink(int chl, struct fsm_req_symlink* msg, Filesystem* fs)
|
|||
char* path = (char*) malloc(msg->namelen + 1);
|
||||
if ( !path )
|
||||
{
|
||||
free(dest);
|
||||
RespondError(chl, errno);
|
||||
inode->Unref();
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue