Fixed deletion of iOS output MPImage buffer in MPImage Utils
This commit is contained in:
parent
0dee33ccba
commit
d5a1bc03af
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user