Fix double allocation in physrea. pArea->m_pMask is already allocated in ProcessBuffer function.
Fix case when client is disconnected while its event queue contains elements.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Valgrind reports memory leaks on LDS
Fix double allocation in physrea. pArea->m_pMask is already allocated in ProcessBuffer function. Fix case when client is disconnected while its event queue contains elements.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.