adapt and fix memoryleaks in Em4x50

This commit is contained in:
iceman1001
2020-12-09 12:18:01 +01:00
parent 93d00be4c0
commit 01b2c14616
4 changed files with 409 additions and 545 deletions

View File

@@ -107,7 +107,7 @@ static int CmdHfThinFilmInfo(const char *Cmd) {
arg_param_end
};
CLIExecWithReturn(ctx, Cmd, argtable, true);
CLIParserFree(ctx);
return infoThinFilm(true);
}

File diff suppressed because it is too large Load Diff

View File

@@ -123,7 +123,7 @@ int CmdWiegandDecode(const char *Cmd) {
void *argtable[] = {
arg_param_begin,
arg_lit0("p", "parity", "ignore invalid parity"),
arg_strx1(NULL, "raw", "<hex>", "raw hex to be decoded"),
arg_strx1("r", "raw", "<hex>", "raw hex to be decoded"),
arg_param_end
};
CLIExecWithReturn(ctx, Cmd, argtable, false);