chg: lf sim - free mem?

This commit is contained in:
iceman1001 2019-05-23 18:32:17 -04:00
parent ed9a5e6d6f
commit 9426f61922

View file

@ -626,6 +626,8 @@ int CmdLFfskSim(const char *Cmd) {
clearCommandBuffer();
SendCommandNG(CMD_FSK_SIM_TAG, (uint8_t *)payload, sizeof(lf_fsksim_t) + size);
free(payload);
setClockGrid(clk, 0);
PacketResponseNG resp;
WaitForResponse(CMD_FSK_SIM_TAG, &resp);