X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/f4a57e861d88657e58ef01cb96ce732d588ca91f..672d72de893f01e4b93bb702b614730826ab0c85:/client/loclass/cipherutils.c diff --git a/client/loclass/cipherutils.c b/client/loclass/cipherutils.c index 83b3c9fa..427d3a25 100644 --- a/client/loclass/cipherutils.c +++ b/client/loclass/cipherutils.c @@ -171,6 +171,7 @@ void printarr(char * name, uint8_t* arr, int len) } cx += snprintf(output+cx,outsize-cx,"};"); prnlog(output); + free(output); } void printvar(char * name, uint8_t* arr, int len) @@ -188,6 +189,7 @@ void printvar(char * name, uint8_t* arr, int len) } prnlog(output); + free(output); } void printarr_human_readable(char * title, uint8_t* arr, int len) @@ -278,7 +280,6 @@ int testReversedBitstream() return 0; } - int testCipherUtils(void) { prnlog("[+] Testing some internals...");