forked from cory/tildefriends
Fixed a leak in JS blob store.
This commit is contained in:
parent
c32e1b9583
commit
e8ef7e74de
@ -415,6 +415,7 @@ static void _tf_ssb_blob_store_complete(blob_store_t* store, const char* id)
|
||||
{
|
||||
JSValue id_value = JS_NewString(store->context, id);
|
||||
JSValue result = JS_Call(store->context, store->promise[0], JS_UNDEFINED, 1, &id_value);
|
||||
JS_FreeValue(store->context, id_value);
|
||||
tf_util_report_error(store->context, result);
|
||||
JS_FreeValue(store->context, result);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user