diff --git a/client/src/cmdhfmfdes.c b/client/src/cmdhfmfdes.c index 035e52cea..0dd003987 100644 --- a/client/src/cmdhfmfdes.c +++ b/client/src/cmdhfmfdes.c @@ -2316,6 +2316,7 @@ static int CmdHF14ADesSelectApp(const char *Cmd) { bool idsoidpresent = (res == 1); if (res == 2) { PrintAndLogEx(ERR, "ISO ID for EF or DF must have 2 bytes length"); + CLIParserFree(ctx); return PM3_EINVARG; }