projects
/
platform
/
hal
/
api
/
tdm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d4ef9c
)
fix dereferencing null error
70/253670/1
author
Junkyeong Kim
<jk0430.kim@samsung.com>
Tue, 16 Feb 2021 08:06:52 +0000
(17:06 +0900)
committer
Junkyeong Kim
<jk0430.kim@samsung.com>
Tue, 16 Feb 2021 08:06:58 +0000
(17:06 +0900)
Change-Id: I98bddf5e60782b7680dfea7a52541364e68e4b16
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
src/hal-api-tdm.c
patch
|
blob
|
history
diff --git
a/src/hal-api-tdm.c
b/src/hal-api-tdm.c
index a59b2de00459fa5d3f91339c8973662ed5dc6939..0ead8b17a6ef1c3b8cd8fb3ac822c6b17a60ebcd 100644
(file)
--- a/
src/hal-api-tdm.c
+++ b/
src/hal-api-tdm.c
@@
-239,7
+239,7
@@
hal_tdm_backend_get_display(hal_tdm_backend *backend, hal_tdm_error *error)
hal_tdm_backend_data *backend_data = (hal_tdm_backend_data *)backend;
hal_tdm_display *display;
- if (!backend_data
&&
g_hal_tdm_backend_data != backend) {
+ if (!backend_data
||
g_hal_tdm_backend_data != backend) {
_E("no backend_data\n");
if (error)
*error = HAL_TDM_ERROR_NO_MODULE;