summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoungjae Shin <yj99.shin@samsung.com>2021-07-15 08:39:43 +0900
committerYoungjae Shin <yj99.shin@samsung.com>2021-07-15 08:42:33 +0900
commitc224c8af00abe11cc522e11fc75d12cfce7f3256 (patch)
treec6a5befcba4de06570e3234e4a7baffff83671f0
parent128f9ed482af9e6fdf2da7dfbed716fceb05743b (diff)
downloadmodes-plugins-accepted/tizen_6.5_unified.tar.gz
modes-plugins-accepted/tizen_6.5_unified.tar.bz2
modes-plugins-accepted/tizen_6.5_unified.zip
Change-Id: I1f9c41c83f0cbddc42fc51d2767e431b5d9b4fb6
-rw-r--r--vconf/VconfStr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vconf/VconfStr.cpp b/vconf/VconfStr.cpp
index 6c854e2..ad17d4a 100644
--- a/vconf/VconfStr.cpp
+++ b/vconf/VconfStr.cpp
@@ -113,7 +113,7 @@ void VconfStr::changedCB(keynode_t * node)
}
char *val = vconf_keynode_get_str(node);
- if (cb && (val != requestVal))
+ if (cb && val && (val != requestVal))
cb(cbData);
}