There was a bug in the conditional statement. 95/231195/1
authorJoogab Yun <joogab.yun@samsung.com>
Mon, 20 Apr 2020 04:27:12 +0000 (13:27 +0900)
committerJoogab Yun <joogab.yun@samsung.com>
Mon, 20 Apr 2020 04:27:12 +0000 (13:27 +0900)
Modify it correctly.

Change-Id: I7d2e4f2975f2153f8144c49aff6b5da5123389e5

dali/internal/imaging/tizen/native-image-source-impl-tizen.cpp

index ca7ce05..2682522 100755 (executable)
@@ -538,7 +538,7 @@ bool NativeImageSourceTizen::ReleaseBuffer()
   bool ret = false;
   if( mTbmSurface != NULL )
   {
-    ret = ( tbm_surface_unmap( mTbmSurface ) != TBM_SURFACE_ERROR_NONE );
+    ret = ( tbm_surface_unmap( mTbmSurface ) == TBM_SURFACE_ERROR_NONE );
     if( !ret )
     {
       DALI_LOG_ERROR( "Fail to unmap tbm_surface\n" );