mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 18:57:12 +08:00
chg: lf sim - free mem?
This commit is contained in:
parent
ed9a5e6d6f
commit
9426f61922
1 changed files with 2 additions and 0 deletions
|
@ -626,6 +626,8 @@ int CmdLFfskSim(const char *Cmd) {
|
||||||
clearCommandBuffer();
|
clearCommandBuffer();
|
||||||
SendCommandNG(CMD_FSK_SIM_TAG, (uint8_t *)payload, sizeof(lf_fsksim_t) + size);
|
SendCommandNG(CMD_FSK_SIM_TAG, (uint8_t *)payload, sizeof(lf_fsksim_t) + size);
|
||||||
|
|
||||||
|
free(payload);
|
||||||
|
|
||||||
setClockGrid(clk, 0);
|
setClockGrid(clk, 0);
|
||||||
PacketResponseNG resp;
|
PacketResponseNG resp;
|
||||||
WaitForResponse(CMD_FSK_SIM_TAG, &resp);
|
WaitForResponse(CMD_FSK_SIM_TAG, &resp);
|
||||||
|
|
Loading…
Reference in a new issue