Selaa lähdekoodia

vision: Fix another use of wrong delete operator in ARToolKit code

rdb 2 vuotta sitten
vanhempi
sitoutus
ef58255abd
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      panda/src/vision/arToolKit.cxx

+ 1 - 1
panda/src/vision/arToolKit.cxx

@@ -475,7 +475,7 @@ analyze(Texture *tex, bool do_flip_texture) {
     }
   }
 
-  delete data;
+  delete[] data;
 }
 
 #endif // HAVE_ARTOOLKIT