diff options
-rwxr-xr-x | utils/MsgVMessage.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/MsgVMessage.cpp b/utils/MsgVMessage.cpp index 4402ab2..43f52dd 100755 --- a/utils/MsgVMessage.cpp +++ b/utils/MsgVMessage.cpp @@ -1643,6 +1643,7 @@ static char* __msgsvc_vmsg_decode_base64_val(char *val) dest = (char *)calloc((src-val)+size+1, sizeof(char)); if (NULL == dest) { + g_free(decoded_str); return NULL; } snprintf(dest, (src-val)+1, "%s", val); |