adapt and fix memoryleaks in Em4x50

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

No files matched your search

+1 -1
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);
}
+325 -408
View File
File diff suppressed because it is too large. Load diff
+1 -1
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);