Fixed loads of memory leaks and related issues.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3782 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2022-01-22 18:50:29 +00:00
parent d470d6c398
commit 0f03701043
5 changed files with 57 additions and 21 deletions

View File

@ -112,6 +112,8 @@ void tf_ssb_export(tf_ssb_t* ssb, const char* key)
JS_FreeValue(context, key);
JS_FreeCString(context, blob_id);
JS_FreeValue(context, desc.value);
JS_FreeValue(context, desc.setter);
JS_FreeValue(context, desc.getter);
}
}
}