[haiku-commits] r40034 - haiku/trunk/src/apps/3dmov

  • From: revol@xxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 29 Dec 2010 20:56:34 +0100 (CET)

Author: mmu_man
Date: 2010-12-29 20:56:33 +0100 (Wed, 29 Dec 2010)
New Revision: 40034
Changeset: http://dev.haiku-os.org/changeset/40034

Modified:
   haiku/trunk/src/apps/3dmov/ViewCube.cpp
Log:
Need array delete operator here.


Modified: haiku/trunk/src/apps/3dmov/ViewCube.cpp
===================================================================
--- haiku/trunk/src/apps/3dmov/ViewCube.cpp     2010-12-29 17:02:32 UTC (rev 
40033)
+++ haiku/trunk/src/apps/3dmov/ViewCube.cpp     2010-12-29 19:56:33 UTC (rev 
40034)
@@ -110,7 +110,7 @@
 */
 Cube :: ~Cube()
 {
-       delete fGeometry;
+       delete [] fGeometry;
 }
 
 /*     FUNCTION:               Cube :: SetAngle


Other related posts:

  • » [haiku-commits] r40034 - haiku/trunk/src/apps/3dmov - revol