mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
seems cppchecker cant make up its mind
This commit is contained in:
parent
0d017908b4
commit
f63bc96980
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue