mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-07 00:28:07 +08:00
FIX: Coverity, resource leak, CID #121357, Mat needs to be free
This commit is contained in:
parent
33db73516d
commit
6178e80e4a
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue