diff --git a/panda/src/vision/arToolKit.cxx b/panda/src/vision/arToolKit.cxx index ed7d019680..cf328a2afd 100644 --- a/panda/src/vision/arToolKit.cxx +++ b/panda/src/vision/arToolKit.cxx @@ -475,7 +475,7 @@ analyze(Texture *tex, bool do_flip_texture) { } } - delete data; + delete[] data; } #endif // HAVE_ARTOOLKIT