Change-Id: I7599b0a16f7140ddea3cb8add3f708f3053ea5e3
Signed-off-by: Abhimanyu Swami <abhimanyu1.s@samsung.com>
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);
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);