]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/reveng/reveng.c
fix #532. looks at length of parameters.
[proxmark3-svn] / client / reveng / reveng.c
index 3c6da126ab136b24f836dc983db1c07276bfd72e..dd50987c308fd7b47c2ccc503e99289b8897880c 100644 (file)
@@ -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;
        }
 
Impressum, Datenschutz