Rikard Falkeborn 60a213e6a5 Fix #9047 (c-style casts before malloc) (#1930)
* Fix #9047 (c-style casts before malloc)

Note that there are still no warnings for c++-style casts

* Fix memleak check with casts of assignments in if-statements

* Fix possible null pointer dereference

As pointed out by cppcheck.

* Add check of astOperand2 when removing casts

This is similar to how it is done in other checks.
2019-07-03 08:39:44 +02:00
..
2019-06-22 19:20:15 +02:00
2017-06-05 13:23:00 +02:00
2019-06-29 07:49:14 +02:00
2019-06-29 07:49:14 +02:00
2018-01-14 15:37:52 +01:00
2019-02-09 07:24:06 +01:00
2019-06-28 22:08:32 +02:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-04-16 19:07:44 +02:00
2019-05-21 10:43:33 +02:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-06-29 07:49:14 +02:00
2019-02-09 07:24:06 +01:00
2019-04-06 06:54:38 +02:00
2019-03-02 08:06:23 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-07-03 08:29:47 +02:00
2019-03-16 09:17:50 +01:00