Fix memory leak in BH_Bytes

This commit is contained in:
2025-06-22 20:34:14 +03:00
parent 7bfbcd0de5
commit 9212dbc7c2

View File

@@ -33,8 +33,7 @@ static int bytesInit(BH_Bytes *bytes,
static int bytesDestroy(BH_Bytes *bytes)
{
BH_UNUSED(bytes);
free(bytes);
return BH_OK;
}