Skip to content

Commit

Permalink
opencl: Fix delete operation
Browse files Browse the repository at this point in the history
gcc report:

opencl/openclwrapper.cpp:3169:12: warning: deleting 'void*' is undefined

Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Oct 28, 2016
1 parent 3ac54b9 commit bccf1c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opencl/openclwrapper.cpp
Expand Up @@ -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;
}

Expand Down

0 comments on commit bccf1c1

Please sign in to comment.