Rikard Falkeborn 007b5d3e8d Fix #9343 (memleak FP when return with cast) (#2162)
This was most likely introduced when the checks were changed to run on
the full tokenlist instead of the simplified one.

Take care to warn about cases where casts destroy the pointer, such as

	uint8_t f() {
		void* x = malloc(1);
		return (uint8_t)x;
	}
2019-09-20 15:09:27 +02:00
..
2019-06-29 07:49:14 +02:00
2018-10-13 18:20:31 +02:00
2019-03-16 09:17:50 +01:00
2019-09-01 11:49:43 +02:00
2019-07-25 17:19:51 +02:00
2019-02-09 07:24:06 +01:00
2019-03-16 09:17:50 +01:00
2019-06-29 07:49:14 +02:00
2019-03-16 09:17:50 +01:00
2019-03-16 09:17:50 +01:00
2019-06-15 13:01:45 +02:00
2019-03-16 09:17:50 +01:00
2019-06-29 07:49:14 +02:00
2019-03-16 09:17:50 +01:00
2019-04-06 06:54:38 +02:00
2019-03-16 09:17:50 +01:00
2019-02-09 07:24:06 +01:00
2019-03-16 09:17:50 +01:00
2019-05-17 09:31:41 +02:00
2019-04-14 15:00:03 +02:00
2019-09-12 10:46:33 +02:00
2019-09-20 07:04:58 +02:00
2019-08-12 12:54:25 +02:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2018-10-13 18:20:31 +02:00
2018-10-13 18:20:31 +02:00
2019-09-01 11:49:43 +02:00
2018-06-17 09:06:16 +02:00
2019-09-19 20:29:33 +02:00
2019-06-29 07:49:14 +02:00
2019-09-01 11:49:43 +02:00
2019-07-31 22:35:51 +02:00
2019-09-20 12:35:01 +02:00
2019-09-01 11:49:43 +02:00
2019-09-20 15:07:27 +02:00
2019-09-02 15:44:40 +02:00