mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-15 19:59:34 +08:00
coverity 226350 - fix resource leak
This commit is contained in:
parent
6835cfd76a
commit
84f5f0352f
1 changed files with 1 additions and 0 deletions
|
@ -870,6 +870,7 @@ static int CmdHFiClassDecrypt(const char *Cmd) {
|
||||||
return PM3_EINVARG;
|
return PM3_EINVARG;
|
||||||
|
|
||||||
memcpy(key, keyptr, sizeof(key));
|
memcpy(key, keyptr, sizeof(key));
|
||||||
|
free(keyptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
// tripledes
|
// tripledes
|
||||||
|
|
Loading…
Reference in a new issue