From a547690af50180bdc8fb81746c0c0c9cf91dc97c Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Thu, 8 Oct 2020 20:27:15 +0200 Subject: [PATCH] fix mem leak --- client/src/cmdlfindala.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/cmdlfindala.c b/client/src/cmdlfindala.c index 829cee8d0..58256dbc2 100644 --- a/client/src/cmdlfindala.c +++ b/client/src/cmdlfindala.c @@ -656,6 +656,7 @@ static int CmdIndalaClone(const char *Cmd) { if (getIndalaBits(fc, cn, bits) != PM3_SUCCESS) { PrintAndLogEx(ERR, "Error with tag bitstream generation."); + free(bits); return PM3_ESOFT; }