Skip to content

Commit

Permalink
[unity]析构漏了apis参数
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Nov 5, 2024
1 parent 3e3efbc commit 6785ea7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ static void ValueTypeFree(void* ptr)
delete [] (uint8_t*)ptr;
}

static void PApiFree(void* ptr, void* class_data, void* env_private)
static void PApiFree(struct pesapi_apis* api, void* ptr, void* class_data, void* env_private)
{
ValueTypeFree(ptr); //TODO: class_data->IsValueType
}
Expand Down

0 comments on commit 6785ea7

Please sign in to comment.