vision: Fix use of wrong delete operator in ARToolKit code

This commit is contained in:
rdb 2022-11-21 18:33:35 +01:00
parent 09f8634433
commit 1f9f6a618f

View File

@ -423,7 +423,7 @@ analyze(Texture *tex, bool do_flip_texture) {
if (arDetectMarker(data, _threshold * 256, &marker_info, &marker_num) < 0) {
vision_cat.error() << "ARToolKit detection error.\n";
delete data;
delete[] data;
return;
}