[Non-ACR][msg-service][coverity fixes] 61/177261/1
authorSameer Prakash Pradhan <sp.pradhan@samsung.com>
Thu, 26 Apr 2018 12:22:11 +0000 (17:52 +0530)
committerSameer Prakash Pradhan <sp.pradhan@samsung.com>
Thu, 26 Apr 2018 12:22:11 +0000 (17:52 +0530)
Change-Id: Ic2ca68a180befd27908cdecbf62ec18f2fd05683
Signed-off-by: Sameer Prakash Pradhan <sp.pradhan@samsung.com>
vobject-engine/VMessage.c

index 4ee61c5..280426a 100755 (executable)
@@ -1037,8 +1037,11 @@ VTree* vmsg_decode(char *pMsgRaw)
 CATCH:
        VFREE(pTemp);
 CATCH1:
+       VFREE(pTemp);
        VFREE(szMsgBegin);
        VFREE(pMsgRawTmp);
+       VFREE(pTmpParam);
+       VFREE(pVBody);
        vmsg_free_vtree_memory(pVMsg);
        VDATA_TRACE_END
        return NULL;