Skip to content

Commit

Permalink
[VP] fix coverity leak issue
Browse files Browse the repository at this point in the history
fix coverity leak issue!
  • Loading branch information
Dylan-debug authored and intel-mediadev committed Sep 15, 2023
1 parent de8aaf6 commit 6f2caa3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,8 @@ MOS_STATUS VpPlatformInterface::InitVpCmKernels(
// IMP_PSEUDO_INPUT = 0x80 is pseudo input. All inputs after this
// will be ignored by CMRT without checking and payload copied.
// This resizes the argument count to achieve this.
return MOS_STATUS_UNIMPLEMENTED;
MOS_Delete(isaFile);
VP_PUBLIC_CHK_STATUS_RETURN(MOS_STATUS_UNIMPLEMENTED);
}

kernelArg.uIndex = j;
Expand Down

0 comments on commit 6f2caa3

Please sign in to comment.