mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
fix coverity CID 322762
This commit is contained in:
parent
cffd0068fd
commit
e50c7db17d
1 changed files with 2 additions and 0 deletions
|
@ -417,6 +417,7 @@ static void *brute_thread(void *arguments) {
|
||||||
if (isOK == false) {
|
if (isOK == false) {
|
||||||
printf(_RED_("<-- not a valid cmd\n"));
|
printf(_RED_("<-- not a valid cmd\n"));
|
||||||
pthread_mutex_unlock(&print_lock);
|
pthread_mutex_unlock(&print_lock);
|
||||||
|
free(revstate);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -425,6 +426,7 @@ static void *brute_thread(void *arguments) {
|
||||||
if (isOK == false) {
|
if (isOK == false) {
|
||||||
printf(_RED_("<-- not a valid crc\n"));
|
printf(_RED_("<-- not a valid crc\n"));
|
||||||
pthread_mutex_unlock(&print_lock);
|
pthread_mutex_unlock(&print_lock);
|
||||||
|
free(revstate);
|
||||||
continue;
|
continue;
|
||||||
} else {
|
} else {
|
||||||
printf("<-- valid cmd\n");
|
printf("<-- valid cmd\n");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue