FWGS / xash3d

DEPRECATED in favor of https://github.com/FWGS/xash3d-fwgs. Only bugfixes are accepted.
https://xash.su
GNU General Public License v3.0
549 stars 107 forks source link

SV_FreePrivateData called more than once for an entity (possibly player) #416

Closed MoeMod closed 5 years ago

MoeMod commented 5 years ago

jyuouo 3o8w _eej

I have tried to call virtual ~CBaseEntity() in OnFreeEntPrivateData. However, some arrays are delete[]ed more than once and make this crash in msvc2017. This crash typically occurs on CBasePlayer after exiting game, version 0.19.2.