diff --git a/src/ssb.js.c b/src/ssb.js.c index 464021d0..1b1e7f50 100644 --- a/src/ssb.js.c +++ b/src/ssb.js.c @@ -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); }