fix: mem leaks.

This commit is contained in:
iceman1001 2019-02-21 16:17:49 +01:00
commit 6d63b3fbed
9 changed files with 28 additions and 12 deletions

View file

@ -1022,8 +1022,10 @@ int CmdSmartBruteforceSFI(const char *Cmd) {
return 1;
PrintAndLogEx(INFO, "Selecting card");
if ( !smart_select(false, NULL) )
if ( !smart_select(false, NULL) ) {
free(buf);
return 1;
}
char* caid = NULL;