X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/2ae8a312e058f71d0f02be4f2f9cc6f284ebbf34..5eae566a28d4494e70a9e3812e269dbd87d9bc07:/client/loclass/cipherutils.c diff --git a/client/loclass/cipherutils.c b/client/loclass/cipherutils.c index 8c6a278a..83b3c9fa 100644 --- a/client/loclass/cipherutils.c +++ b/client/loclass/cipherutils.c @@ -207,13 +207,14 @@ void printarr_human_readable(char * title, uint8_t* arr, int len) cx += snprintf(output+cx,outsize-cx, "%02x ",*(arr+i)); } prnlog(output); + free(output); } //----------------------------- // Code for testing below //----------------------------- - +#ifndef ON_DEVICE int testBitStream() { uint8_t input [] = {0xDE,0xAD,0xBE,0xEF,0xDE,0xAD,0xBE,0xEF}; @@ -286,3 +287,4 @@ int testCipherUtils(void) retval |= testReversedBitstream(); return retval; } +#endif