diff options
author | hyunho <hhstark.kang@samsung.com> | 2019-12-20 15:00:56 +0900 |
---|---|---|
committer | hyunho <hhstark.kang@samsung.com> | 2019-12-20 15:00:56 +0900 |
commit | ba89f1aa1773951233df2ffa27ea682b548047a6 (patch) | |
tree | 7f3b49f78292e6e4f67a7dbf4a6523389c157f06 /screen_connector_remote_surface_evas | |
parent | f1bdc5134bb3528309d6406f51128ce442a286a4 (diff) | |
download | screen-connector-ba89f1aa1773951233df2ffa27ea682b548047a6.tar.gz screen-connector-ba89f1aa1773951233df2ffa27ea682b548047a6.tar.bz2 screen-connector-ba89f1aa1773951233df2ffa27ea682b548047a6.zip |
Add null check for raw value
Change-Id: Ic6d68f585e0e5ae0aa1a413a58c7e56e88f9b687
Signed-off-by: hyunho <hhstark.kang@samsung.com>
Diffstat (limited to 'screen_connector_remote_surface_evas')
-rw-r--r-- | screen_connector_remote_surface_evas/remote_surface_evas.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/screen_connector_remote_surface_evas/remote_surface_evas.cc b/screen_connector_remote_surface_evas/remote_surface_evas.cc index 2d8cd14..2c7b284 100644 --- a/screen_connector_remote_surface_evas/remote_surface_evas.cc +++ b/screen_connector_remote_surface_evas/remote_surface_evas.cc @@ -471,7 +471,7 @@ void RemoteSurfaceEvas::OnBufferChanged(int type, std::shared_ptr<WlBuffer> tbm, if (type != TIZEN_REMOTE_SURFACE_BUFFER_TYPE_TBM) return; - if (tbm.get() == nullptr) { + if (tbm.get() == nullptr || tbm->GetRaw() == nullptr) { LOGW("Null tbm"); return; } |