Counter-Strike-HUD / cs-hud-observer

CS 1.6 streaming overlay used for broadcasting special hud to viewers.
25 stars 4 forks source link

Memory leak with `json_init_object()` in most places #8

Closed SergeyShorokhov closed 3 years ago

SergeyShorokhov commented 3 years ago

https://github.com/kallefrombosnia/cs-hud-observer/blob/031c37835000e29b05984cc82274d339fe77da17/game/addons/amxmodx/scripting/Events.sma#L189 and etc.

Needs to be freed using json_free() native.

Bog1sh4 commented 3 years ago

Fixed, thanks!