calloc should already taken care of the zeroing

This commit is contained in:
iceman1001 2022-02-14 09:20:14 +01:00
parent 63bc9b5eb2
commit 6da5c9d0f4

View file

@ -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)) {