From: iceman1001 Date: Tue, 12 Jan 2016 22:56:15 +0000 (+0100) Subject: FIX: Coverity, resource leak, CID #121357, Mat needs to be free X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/6178e80e4a1d86d0633226cf4f9c244f968d3925?ds=sidebyside FIX: Coverity, resource leak, CID #121357, Mat needs to be free --- 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; }