Ignore NULL streams in StreamPool_Return
This commit is contained in:
parent
68c7bcc650
commit
6351885488
@ -218,6 +218,9 @@ out_fail:
|
||||
|
||||
void StreamPool_Return(wStreamPool* pool, wStream* s)
|
||||
{
|
||||
if (!s)
|
||||
return;
|
||||
|
||||
if (pool->synchronized)
|
||||
EnterCriticalSection(&pool->lock);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user