Change-Id: I2fff9c49c51408b68b0b0c9e5519b32164a6ef85
ConnectSignal( surface );
}
- if( !buffer)
+ if( !buffer )
{
DALI_LOG_ERROR("wl buffer is NULL");
return;
//get tbm surface from buffer
tbm_surface_h tbmSurface = static_cast< tbm_surface_h >( wl_buffer_get_user_data( buffer ) );
+ if( !tbmSurface )
+ {
+ DALI_LOG_ERROR("tbm surface is NULL");
+ return;
+ }
UpdateImageSource( tbmSurface );
if( mBuffer != NULL && tizen_remote_surface_get_version( surface ) >= TIZEN_REMOTE_SURFACE_RELEASE_SINCE_VERSION )