mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
chg parsing free Thanks @doegox!
This commit is contained in:
parent
f830843442
commit
7064b73b48
2 changed files with 7 additions and 9 deletions
|
@ -146,11 +146,8 @@ int CLIParserParseStringEx(CLIParserContext *ctx, const char *str, void *vargtab
|
|||
}
|
||||
|
||||
void CLIParserFree(CLIParserContext *ctx) {
|
||||
if (ctx != NULL) {
|
||||
arg_freetable(ctx->argtable, ctx->argtableLen);
|
||||
free(ctx);
|
||||
ctx = NULL;
|
||||
}
|
||||
arg_freetable(ctx->argtable, ctx->argtableLen);
|
||||
free(ctx);
|
||||
}
|
||||
|
||||
// convertors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue