Merge pull request #4905 from priankakariatyml:ios-image-utils-fix

PiperOrigin-RevId: 578990990
This commit is contained in:
Copybara-Service 2023-11-02 15:15:58 -07:00
commit b4ce39cbf7

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