mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 13:23:51 -07:00
fix coverity 290266
This commit is contained in:
parent
19f2c0ef89
commit
2daa2c09fd
1 changed files with 4 additions and 3 deletions
|
@ -146,9 +146,10 @@ int CLIParserParseStringEx(CLIParserContext *ctx, const char *str, void *vargtab
|
||||||
}
|
}
|
||||||
|
|
||||||
void CLIParserFree(CLIParserContext *ctx) {
|
void CLIParserFree(CLIParserContext *ctx) {
|
||||||
|
if (ctx) {
|
||||||
arg_freetable(ctx->argtable, ctx->argtableLen);
|
arg_freetable(ctx->argtable, ctx->argtableLen);
|
||||||
free(ctx);
|
free(ctx);
|
||||||
return;
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// convertors
|
// convertors
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue