forked from cory/tildefriends
		
	Free earlier.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4257 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
		| @@ -822,6 +822,7 @@ static void _tf_ssb_rpc_ebt_replicate_send_clock(tf_ssb_connection_t* connection | ||||
| 		tf_ssb_db_get_latest_message_by_author(ssb, visible[i], &sequence, NULL, 0); | ||||
| 		JS_SetPropertyStr(context, full_clock, visible[i], JS_NewInt64(context, sequence == -1 ? -1 : (sequence << 1))); | ||||
| 	} | ||||
| 	tf_free(visible); | ||||
|  | ||||
| 	/* Ask about the incoming connection, too. */ | ||||
| 	char id[k_id_base64_len] = ""; | ||||
| @@ -867,8 +868,6 @@ static void _tf_ssb_rpc_ebt_replicate_send_clock(tf_ssb_connection_t* connection | ||||
| 		js_free(context, ptab); | ||||
| 	} | ||||
|  | ||||
| 	tf_free(visible); | ||||
|  | ||||
| 	tf_ssb_connection_rpc_send_json(connection, k_ssb_rpc_flag_stream, -request_number, full_clock, NULL, NULL, NULL); | ||||
| 	JS_FreeValue(context, full_clock); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user