Fixed deletion of iOS output MPImage buffer in MPImage Utils

This commit is contained in:
Prianka Liz Kariat 2023-10-23 20:28:43 +05:30
parent 0dee33ccba
commit d5a1bc03af

View File

@ -37,7 +37,7 @@ vImage_Buffer allocatedVImageBuffer(vImagePixelCount width, vImagePixelCount hei
}
static void FreeDataProviderReleaseCallback(void *buffer, const void *data, size_t size) {
delete (vImage_Buffer *)buffer;
delete[] buffer;
}
} // namespace