memory leak issue fixed (52782) 14/239414/2
authorlohit agarwalla <l.agarwalla@samsung.com>
Fri, 24 Jul 2020 10:25:08 +0000 (15:55 +0530)
committerlohit agarwalla <l.agarwalla@samsung.com>
Mon, 27 Jul 2020 08:57:14 +0000 (14:27 +0530)
Change-Id: I7cd11bcc56b03429df67c88c3b88ef5af8e4ddc4
Signed-off-by: lohit agarwalla <l.agarwalla@samsung.com>
common/uafv1tlvutil/src/SignReqTlvEncoder.cpp

index 737cf48..b45c70c 100755 (executable)
@@ -187,6 +187,7 @@ SignReqTlvEncoder::decode(const unsigned char *rawData)
 
        if (foundMember == false) {
                SAFE_DELETE(getAuthReqInfo->fch);
+               SAFE_DELETE(getAuthReqInfo->khATok);
                free(getAuthReqInfo);
                return NULL;
        }