1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-15 22:56:30 +09:00

Argument null check in Recycle(byte[])

This commit is contained in:
lidgren
2014-08-29 18:51:55 +00:00
parent 7440f6da3c
commit 49e54f3d6a

View File

@@ -52,7 +52,7 @@ namespace Lidgren.Network
internal void Recycle(byte[] storage)
{
if (m_storagePool == null)
if (m_storagePool == null || storage == null)
return;
lock (m_storagePool)