Fix memory leak in BH_Bytes
This commit is contained in:
@@ -33,8 +33,7 @@ static int bytesInit(BH_Bytes *bytes,
|
|||||||
|
|
||||||
static int bytesDestroy(BH_Bytes *bytes)
|
static int bytesDestroy(BH_Bytes *bytes)
|
||||||
{
|
{
|
||||||
BH_UNUSED(bytes);
|
free(bytes);
|
||||||
|
|
||||||
return BH_OK;
|
return BH_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user