Fixed a leak in ssb.getServerIdentity().

This commit is contained in:
Cory McWilliams 2024-03-03 12:20:03 -05:00
parent 8d6feb5394
commit c1eed9ada3

View File

@ -272,7 +272,7 @@ static JSValue _tf_ssb_getPrivateKey(JSContext* context, JSValueConst this_val,
static JSValue _tf_ssb_getServerIdentity(JSContext* context, JSValueConst this_val, int argc, JSValueConst* argv)
{
JSValue result = JS_NewArray(context);
JSValue result = JS_UNDEFINED;
tf_ssb_t* ssb = JS_GetOpaque(this_val, _tf_ssb_classId);
if (ssb)
{