forked from cory/tildefriends
Memory leak.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4121 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
parent
7cd925feca
commit
8a1b4cceec
@ -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);
|
snprintf(out_value, size, "%s", value_string);
|
||||||
result = true;
|
result = true;
|
||||||
|
JS_FreeCString(context, value_string);
|
||||||
}
|
}
|
||||||
JS_FreeValue(context, property);
|
JS_FreeValue(context, property);
|
||||||
JS_FreeValue(context, value);
|
JS_FreeValue(context, value);
|
||||||
|
Loading…
Reference in New Issue
Block a user