Skip to content

Commit

Permalink
[Decode] Refine the free resource function
Browse files Browse the repository at this point in the history
Handle return status
  • Loading branch information
chuanli1 authored and intel-mediadev committed Sep 15, 2023
1 parent 6c059da commit 786dcb7
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ namespace decode {

MOS_STATUS HucS2lPkt::Destroy()
{
FreeResource();
return MOS_STATUS_SUCCESS;
return FreeResource();
}

MOS_STATUS HucS2lPkt::FreeResource()
Expand Down

0 comments on commit 786dcb7

Please sign in to comment.