Memory leak.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4121 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2023-01-14 14:05:31 +00:00
parent 7cd925feca
commit 8a1b4cceec

View File

@ -227,6 +227,7 @@ static bool _get_global_setting_string(tf_ssb_t* ssb, const char* name, char* ou
{
snprintf(out_value, size, "%s", value_string);
result = true;
JS_FreeCString(context, value_string);
}
JS_FreeValue(context, property);
JS_FreeValue(context, value);