Revert "Updated deletion in FreeDataProviderReleaseCallback"
This reverts commit 69b7a21368
.
This commit is contained in:
parent
69b7a21368
commit
06d893a9f9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user