X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/b67f7ec359806293a6da14208bad56b842dedb60..e55b441992629938fecd75693d204dd98831d3ba:/client/loclass/cipherutils.c?ds=inline
diff --git a/client/loclass/cipherutils.c b/client/loclass/cipherutils.c
index 83b3c9fa..b5e365bf 100644
--- a/client/loclass/cipherutils.c
+++ b/client/loclass/cipherutils.c
@@ -22,7 +22,7 @@
*
* This is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as published
- * by the Free Software Foundation.
+ * by the Free Software Foundation, or, at your option, any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -33,7 +33,6 @@
* along with loclass. If not, see .
*
*
- *
****************************************************************************/
#include
@@ -171,6 +170,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 +188,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)