X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/2ae8a312e058f71d0f02be4f2f9cc6f284ebbf34..fff6d2a3ba4bd387517df9c3aaef14ec823e552e:/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