mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-03 22:53:58 +08:00
coverity..
This commit is contained in:
parent
1b9490c6aa
commit
f830843442
1 changed files with 2 additions and 1 deletions
|
@ -146,9 +146,10 @@ int CLIParserParseStringEx(CLIParserContext *ctx, const char *str, void *vargtab
|
|||
}
|
||||
|
||||
void CLIParserFree(CLIParserContext *ctx) {
|
||||
if (ctx) {
|
||||
if (ctx != NULL) {
|
||||
arg_freetable(ctx->argtable, ctx->argtableLen);
|
||||
free(ctx);
|
||||
ctx = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue