diff options
author | Abhimanyu Swami <abhimanyu1.s@samsung.com> | 2021-09-28 15:37:43 +0530 |
---|---|---|
committer | Abhimanyu Swami <abhimanyu1.s@samsung.com> | 2021-09-28 15:39:27 +0530 |
commit | e27ab9441459fa27167773f78426d3d0342cbd97 (patch) | |
tree | 8b6a82359e36eff52fcb10cf6dcf65f1343d7b16 | |
parent | 8fbee78d805967c5f72340455d18e7d5f6cc0c6e (diff) | |
download | msg-service-e27ab9441459fa27167773f78426d3d0342cbd97.tar.gz msg-service-e27ab9441459fa27167773f78426d3d0342cbd97.tar.bz2 msg-service-e27ab9441459fa27167773f78426d3d0342cbd97.zip |
Check return type
Change-Id: I7599b0a16f7140ddea3cb8add3f708f3053ea5e3
Signed-off-by: Abhimanyu Swami <abhimanyu1.s@samsung.com>
-rwxr-xr-x | utils/MsgVMessage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/MsgVMessage.cpp b/utils/MsgVMessage.cpp index 07e6d82..48c9b1a 100755 --- a/utils/MsgVMessage.cpp +++ b/utils/MsgVMessage.cpp @@ -1465,7 +1465,7 @@ static inline char* __msgsvc_vmsg_translate_charset(char *src, int len) temp_size = (src_len+1) * sizeof(UChar); temp = (UChar *)malloc(temp_size); if (temp == NULL) { - MSG_DEBUG("malloc() failed"); + MSG_ERR("malloc() failed"); return NULL; } conv = ucnv_open(enc, &err); @@ -1477,7 +1477,7 @@ static inline char* __msgsvc_vmsg_translate_charset(char *src, int len) dest_size = temp_size*2; dest = (char *)malloc(dest_size); if (dest == NULL) { - MSG_DEBUG("malloc() failed"); + MSG_ERR("malloc() failed"); return NULL; } conv = ucnv_open("UTF-8", &err); |