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:
Ondrej Holy 2018-08-17 15:01:25 +02:00
parent 99c15e5339
commit 36960e97a4

View File

@ -383,6 +383,7 @@ BOOL nsc_process_message(NSC_CONTEXT* context, UINT16 bpp,
break;
default:
Stream_Free(s, TRUE);
return FALSE;
}