Fixed some memory leaks. Memory leak-related paranoia. Minor cleanups.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3659 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2021-09-06 20:54:44 +00:00
parent 35e0d8b68a
commit e85168ac53
7 changed files with 16 additions and 30 deletions

View File

@ -310,6 +310,7 @@ static bool _tf_ssb_sqlite_bind_json(JSContext* context, sqlite3* db, sqlite3_st
printf("expected string: %s\n", str);
JS_FreeCString(context, str);
}
JS_FreeValue(context, value);
}
} else {
printf("expected array\n");