Rikard Falkeborn f018163551
Improve handling of realloc in memory leak checker (#3036)
Mark realloced variables as realloced instead of freed. This allows
improved checking for code with error realloc handling.

If cppcheck finds an if-statement which checks the validity of the
allocated memory or resource, check if the memory/resource is
reallocated from another variable. If so, we can add checking of that
variable in the if-statement instead. This allows to check that variable
for memleaks and double frees.

This fixes #9292 and #9990 which both concern FPs with double frees
after correct error handling.
2021-01-11 07:55:05 +01:00
..
2020-06-13 16:37:12 +02:00
2020-05-10 11:16:32 +02:00
2020-10-03 09:15:56 +02:00
2020-05-10 11:16:32 +02:00
2020-12-22 08:09:51 +01:00
2020-12-05 09:28:33 +01:00
2020-05-10 11:16:32 +02:00
2020-05-10 11:16:32 +02:00
2021-01-10 14:46:19 +01:00
2020-05-10 11:16:32 +02:00
2020-05-10 11:16:32 +02:00
2020-05-10 11:16:32 +02:00
2020-06-13 16:37:12 +02:00
2020-12-05 09:28:33 +01:00
2020-05-10 11:16:32 +02:00
2020-06-13 16:37:12 +02:00