[REISERFS] Don't leak on failure

CID 1363593
This commit is contained in:
Pierre Schweitzer 2017-10-22 22:40:21 +02:00
parent 05f00fe63b
commit 2df125472b

View file

@ -542,6 +542,9 @@ Dissecting:
}
if(!RfsdLoadInode(Vcb, &(ParentMcb->Key), pTmpInode)) {
#ifdef __REACTOS__
ExFreePool(pTmpInode);
#endif
Status = STATUS_OBJECT_PATH_NOT_FOUND;
_SEH2_LEAVE;
}