mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-13 10:03:57 -03:00
AP_Math: fixed memory leak
found by coverity
This commit is contained in:
parent
847483d744
commit
97d27ce58f
@ -222,6 +222,8 @@ bool mat_inverse(float* A, float* inv, uint8_t n)
|
||||
free(inv_pivoted);
|
||||
free(inv_unpivoted);
|
||||
free(P);
|
||||
free(U_inv);
|
||||
free(L_inv);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user