Revert "Updated deletion in FreeDataProviderReleaseCallback"

This reverts commit 69b7a21368.
This commit is contained in:
Prianka Liz Kariat 2023-10-19 20:45:32 +05:30
parent 69b7a21368
commit 06d893a9f9

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[] buffer;
delete (vImage_Buffer *)buffer;
}
} // namespace