X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/0b91ce03e50fd7c4a5fd3d86f1dac984d4867118..ec0872181b882afe69213c2443f074426ccaa94f:/client/reveng/reveng.c

diff --git a/client/reveng/reveng.c b/client/reveng/reveng.c
index 3c6da126..dd50987c 100644
--- a/client/reveng/reveng.c
+++ b/client/reveng/reveng.c
@@ -257,6 +257,7 @@ engini(int *resc, model_t **result, const poly_t divisor, int flags, int args, c
 		palloc(&apoly, dlen);
 		calini(resc, result, divisor, flags, apoly, args, argpolys);
 		pfree(&apoly);
+		free(mat);
 		return;
 	}