diff options
author | Hwankyu Jhun <h.jhun@samsung.com> | 2021-03-12 13:06:01 +0900 |
---|---|---|
committer | Hwankyu Jhun <h.jhun@samsung.com> | 2021-03-12 13:06:01 +0900 |
commit | a98771ba3a84d2ecc56f28a11e7827b6b7bdfa70 (patch) | |
tree | 94515720b1d1e7646c2e7de784661d65657be080 | |
parent | c15c8205f1abcf3c2c68f67ce14e72b0d80510e0 (diff) | |
download | librua-a98771ba3a84d2ecc56f28a11e7827b6b7bdfa70.tar.gz librua-a98771ba3a84d2ecc56f28a11e7827b6b7bdfa70.tar.bz2 librua-a98771ba3a84d2ecc56f28a11e7827b6b7bdfa70.zip |
Reduce error logs
To reduce unnecessary error logs, this patch adds if statement to check
that the paramter is nullptr.
Change-Id: I6645a22720f8e63e60715e53fb1e06931cdf4c99
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
-rw-r--r-- | src/rua_info.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rua_info.c b/src/rua_info.c index 42df487..59fd2bb 100644 --- a/src/rua_info.c +++ b/src/rua_info.c @@ -244,6 +244,9 @@ static void __rua_info_remove_comp_info(void *data) { aul_comp_info_h comp_info; + if (!data) + return; + comp_info = (aul_comp_info_h)data; aul_comp_info_destroy(comp_info); } |