Fix wrong deletion. 05/38505/1
authorFrancisco Santos <f1.santos@samsung.com>
Tue, 21 Apr 2015 12:07:12 +0000 (13:07 +0100)
committerFrancisco Santos <f1.santos@samsung.com>
Tue, 21 Apr 2015 12:07:12 +0000 (13:07 +0100)
Change-Id: Ibcbba0859c7298e30e25716ffbd6b51f4f750a49

dali/internal/update/common/double-buffered.h

index 3ddb512..412e49c 100644 (file)
@@ -198,7 +198,7 @@ public:
 
     if( current != previous )
     {
-      delete previous;
+      delete current;
     }
 
     current = previous;