codec/nsc: Fix leak found by covscan
leaked_storage: Variable "s" going out of scope leaks the storage it points to.
This commit is contained in:
parent
99c15e5339
commit
36960e97a4
@ -383,6 +383,7 @@ BOOL nsc_process_message(NSC_CONTEXT* context, UINT16 bpp,
|
||||
break;
|
||||
|
||||
default:
|
||||
Stream_Free(s, TRUE);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user