forked from cory/tildefriends
		
	Fixed a leak in ssb.getServerIdentity().
This commit is contained in:
		| @@ -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) | ||||
| 	{ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user