Kawe Mazidjatari f97b347d88 Fix ConVar's and ConCommand's creation memory leak
Using the 'new' keyword and then assigning *this to *pNewConVar will lead to having 2 copies of the same constructed data, and one being used in the SDK whilst the other one being used by the engine.
We unfortunately cannot write the code exactly like the engine, as we hook the engine and dependent heavily on its global memalloc singleton.
This commit fixes the memory leak and allows the engine to free the memory as well whenever it wants to.
2022-08-08 01:40:28 +02:00
..
2022-06-08 14:35:44 +02:00
2022-06-08 14:35:44 +02:00
2022-07-30 00:43:40 +02:00
2022-07-29 17:30:05 +02:00
2022-08-04 17:52:34 +02:00
2022-08-04 17:52:34 +02:00
2022-06-15 01:23:28 +02:00
2022-06-08 14:35:44 +02:00
2022-06-08 14:35:44 +02:00
2022-02-06 16:48:52 +01:00