Ignore NULL streams in StreamPool_Return

This commit is contained in:
Armin Novak 2020-09-02 10:09:48 +02:00
parent 68c7bcc650
commit 6351885488

View File

@ -218,6 +218,9 @@ out_fail:
void StreamPool_Return(wStreamPool* pool, wStream* s)
{
if (!s)
return;
if (pool->synchronized)
EnterCriticalSection(&pool->lock);