mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-09-20 23:36:31 +08:00
calloc should already taken care of the zeroing
This commit is contained in:
parent
63bc9b5eb2
commit
6da5c9d0f4
|
@ -4152,7 +4152,6 @@ static int CmdHF14AMfEView(const char *Cmd) {
|
|||
PrintAndLogEx(WARNING, "Fail, cannot allocate memory");
|
||||
return PM3_EMALLOC;
|
||||
}
|
||||
memset(dump, 0, bytes);
|
||||
|
||||
PrintAndLogEx(INFO, "downloading emulator memory");
|
||||
if (!GetFromDevice(BIG_BUF_EML, dump, bytes, 0, NULL, 0, NULL, 2500, false)) {
|
||||
|
|
Loading…
Reference in a new issue