malloc and leak fix.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3821 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2022-02-05 19:58:22 +00:00
parent 059024452c
commit ef9e42e030
2 changed files with 3 additions and 4 deletions

View File

@ -789,6 +789,7 @@ void tf_task_on_receive_packet(int packetType, const char* begin, size_t length,
{
_tf_task_sendPromiseResolve(to, from, promise, result);
}
JS_FreeValue(to->_context, result);
}
break;
case kResolvePromise: