[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [49116] trunk/blender/source/blender/ compositor/operations/COM_VectorBlurOperation.cpp: fix for compositor new[] /delete[] mismatch.

Campbell Barton ideasman42 at gmail.com
Sun Jul 22 17:15:39 CEST 2012


Revision: 49116
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=49116
Author:   campbellbarton
Date:     2012-07-22 15:15:39 +0000 (Sun, 22 Jul 2012)
Log Message:
-----------
fix for compositor new[]/delete[] mismatch.

Modified Paths:
--------------
    trunk/blender/source/blender/compositor/operations/COM_VectorBlurOperation.cpp

Modified: trunk/blender/source/blender/compositor/operations/COM_VectorBlurOperation.cpp
===================================================================
--- trunk/blender/source/blender/compositor/operations/COM_VectorBlurOperation.cpp	2012-07-22 14:22:07 UTC (rev 49115)
+++ trunk/blender/source/blender/compositor/operations/COM_VectorBlurOperation.cpp	2012-07-22 15:15:39 UTC (rev 49116)
@@ -66,7 +66,7 @@
 	this->m_inputSpeedProgram = NULL;
 	this->m_inputZProgram = NULL;
 	if (this->m_cachedInstance) {
-		delete this->m_cachedInstance;
+		delete [] this->m_cachedInstance;
 		this->m_cachedInstance = NULL;
 	}
 }




More information about the Bf-blender-cvs mailing list