Fix extfs fsmarshall symlink error case.

This commit is contained in:
Jonas 'Sortie' Termansen 2015-07-09 18:24:13 +02:00
parent 0da44df5ce
commit 7953023517
1 changed files with 1 additions and 0 deletions

View File

@ -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;