Updated deletion in FreeDataProviderReleaseCallback
This commit is contained in:
parent
fce7b19ad7
commit
69b7a21368
|
@ -37,7 +37,7 @@ vImage_Buffer allocatedVImageBuffer(vImagePixelCount width, vImagePixelCount hei
|
||||||
}
|
}
|
||||||
|
|
||||||
static void FreeDataProviderReleaseCallback(void *buffer, const void *data, size_t size) {
|
static void FreeDataProviderReleaseCallback(void *buffer, const void *data, size_t size) {
|
||||||
delete (vImage_Buffer *)buffer;
|
delete[] buffer;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
Loading…
Reference in New Issue
Block a user