diff --git a/opencl/openclwrapper.cpp b/opencl/openclwrapper.cpp index 3231375528..4f7c7f2320 100644 --- a/opencl/openclwrapper.cpp +++ b/opencl/openclwrapper.cpp @@ -3167,7 +3167,7 @@ ds_status deserializeScore( ds_device* device, const unsigned char* serializedSc } ds_status releaseScore( void* score ) { - delete[] score; + delete (TessDeviceScore *)score; return DS_SUCCESS; }