From 6178e80e4a1d86d0633226cf4f9c244f968d3925 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 12 Jan 2016 23:56:15 +0100 Subject: [PATCH] FIX: Coverity, resource leak, CID #121357, Mat needs to be free --- client/reveng/reveng.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.39.5