]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlft55xx.c
FIX: Coverity Scan fixes, a bunch of them.
[proxmark3-svn] / client / cmdlft55xx.c
index e10b24d054781dafe9c036a0d034c852b56b3cd6..b26973e613c79034566d8db77ca4d4fbdf04c32c 100644 (file)
@@ -1454,7 +1454,6 @@ int CmdT55xxBruteForce(const char *Cmd) {
                                getchar();\r
                                printf("\naborted via keyboard!\n");\r
                                free(keyBlock);\r
-                               free(p);\r
                                return 0;\r
                        }\r
                \r
@@ -1466,7 +1465,6 @@ int CmdT55xxBruteForce(const char *Cmd) {
                        if ( !AquireData(T55x7_PAGE0, T55x7_CONFIGURATION_BLOCK, TRUE, testpwd)) {\r
                                PrintAndLog("Aquireing data from device failed. Quitting");\r
                                free(keyBlock);\r
-                               free(p);\r
                                return 0;\r
                        }\r
                        \r
@@ -1475,13 +1473,11 @@ int CmdT55xxBruteForce(const char *Cmd) {
                        if ( found ) {\r
                                PrintAndLog("Found valid password: [%08X]", testpwd);\r
                                free(keyBlock);\r
-                               free(p);\r
                                return 0;\r
                        } \r
                }\r
                PrintAndLog("Password NOT found.");\r
                free(keyBlock);\r
-               free(p);\r
                return 0;\r
        }\r
        \r
Impressum, Datenschutz