fix coverity mem leaks

This commit is contained in:
iceman1001 committed 2026-07-03 11:37:57 +02:00
1 parent 41ad752a95
commit 546ec40dc6
2 files changed
+2

No files matched your search

+1
View File
@@ -570,6 +570,7 @@ static int CmdFlashMemDump(const char *Cmd) {
int res = pm3_get_flash_pages64k(&spi_flash_pages);
if (res != PM3_SUCCESS) {
PrintAndLogEx(ERR, "failed to get flash pages count (%x)", res);
CLIParserFree(ctx);
return res;
}