From f63bc96980679716dabe23d36d8234334573f3da Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Thu, 20 May 2021 11:34:56 +0200 Subject: [PATCH] seems cppchecker cant make up its mind --- client/src/cmdhficlass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/cmdhficlass.c b/client/src/cmdhficlass.c index dc4d16a33..08c4e9360 100644 --- a/client/src/cmdhficlass.c +++ b/client/src/cmdhficlass.c @@ -301,7 +301,7 @@ static int generate_config_card(const iclass_config_card_item_t *o, uint8_t *ke uint8_t *p = realloc(data, tot_bytes); if (p == NULL) { PrintAndLogEx(FAILED, "failed to allocate memory"); - //free(data); + free(data); return PM3_EMALLOC; } data = p;