X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/fe81b4781103a51117b904681ad2c259bf16c084..0e512a905f93bdd40164113f5a39592220b380d3:/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;
 	}