]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/loclass/cipherutils.c
CHG: removed a delay in readblock
[proxmark3-svn] / client / loclass / cipherutils.c
index 83b3c9fa2476f6454ac507e777224617795a3bd3..427d3a254a05da2a1cafd26233d20f959db3bd8d 100644 (file)
@@ -171,6 +171,7 @@ void printarr(char * name, uint8_t* arr, int len)
        }
        cx += snprintf(output+cx,outsize-cx,"};");
        prnlog(output);
        }
        cx += snprintf(output+cx,outsize-cx,"};");
        prnlog(output);
+       free(output);
 }
 
 void printvar(char * name, uint8_t* arr, int len)
 }
 
 void printvar(char * name, uint8_t* arr, int len)
@@ -188,6 +189,7 @@ void printvar(char * name, uint8_t* arr, int len)
        }
 
        prnlog(output);
        }
 
        prnlog(output);
+       free(output);
 }
 
 void printarr_human_readable(char * title, uint8_t* arr, int len)
 }
 
 void printarr_human_readable(char * title, uint8_t* arr, int len)
@@ -278,7 +280,6 @@ int testReversedBitstream()
        return 0;
 }
 
        return 0;
 }
 
-
 int testCipherUtils(void)
 {
        prnlog("[+] Testing some internals...");
 int testCipherUtils(void)
 {
        prnlog("[+] Testing some internals...");
Impressum, Datenschutz