Do not overrite vtable of object. 92/33192/2
authorFrancisco Santos <f1.santos@samsung.com>
Tue, 6 Jan 2015 14:16:49 +0000 (14:16 +0000)
committerFrancisco Santos <f1.santos@samsung.com>
Wed, 7 Jan 2015 11:21:43 +0000 (11:21 +0000)
Change-Id: I92260c9e4412dabd01dc969b8171d05c63048e9a

dali/internal/update/animation/scene-graph-constraint-base.cpp

index 56cd82c..017942b 100644 (file)
@@ -57,9 +57,6 @@ ConstraintBase::~ConstraintBase()
 
 #ifdef DEBUG_ENABLED
   --mCurrentInstanceCount;
-#ifndef EMSCRIPTEN
-  memset ( &mWeight, 0xFA, sizeof(mWeight) ); // Fill with garbage pattern to help detect invalid memory access
-#endif
 #endif
 }