coverity 226350 - fix resource leak
This commit is contained in:
1 parent
6835cfd76a
commit
84f5f0352f
1 file changed
+1
@@ -870,6 +870,7 @@ static int CmdHFiClassDecrypt(const char *Cmd) {
|
||||
return PM3_EINVARG;
|
||||
|
||||
memcpy(key, keyptr, sizeof(key));
|
||||
free(keyptr);
|
||||
}
|
||||
|
||||
// tripledes
|
||||
|
||||
Reference in new issue
Block a user