Jesper Juhl
155e4e12b9
batman-adv: Fix mem leak in the batadv_tt_local_event() function
...
Memory is allocated for 'tt_change_node' with kmalloc().
'tt_change_node' may go out of scope really being used for anything
(except have a few members initialized) if we hit the 'del:' label.
This patch makes sure we free the memory in that case.
Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Acked-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-08-08 16:04:04 -07:00
..
2012-06-20 22:15:33 +02:00
2012-07-01 22:47:21 +02:00
2012-07-01 22:47:21 +02:00
2012-06-28 08:45:05 +02:00
2012-07-10 23:56:33 -07:00
2012-07-10 23:56:33 -07:00
2012-07-01 22:47:23 +02:00
2012-07-01 22:47:22 +02:00
2012-08-06 13:23:46 -07:00
2012-07-01 22:47:21 +02:00
2012-07-01 22:47:21 +02:00
2012-07-01 22:47:18 +02:00
2012-07-01 22:47:23 +02:00
2012-07-01 22:47:21 +02:00
2012-07-01 22:47:23 +02:00
2012-07-10 23:13:45 -07:00
2012-07-01 22:47:21 +02:00
2012-07-01 22:47:21 +02:00
2012-04-11 14:29:00 +02:00
2012-07-01 22:47:22 +02:00
2012-07-10 23:13:45 -07:00
2012-07-01 22:47:22 +02:00
2012-07-01 22:47:23 +02:00
2012-07-01 22:47:21 +02:00
2012-07-01 22:47:21 +02:00
2012-06-28 08:45:05 +02:00
2012-06-20 22:15:33 +02:00
2012-07-01 22:47:23 +02:00
2012-07-01 22:47:21 +02:00
2012-07-01 22:47:21 +02:00
2012-07-01 22:47:21 +02:00
2012-07-10 23:56:33 -07:00
2012-07-01 22:47:21 +02:00
2012-07-01 22:47:22 +02:00
2012-07-01 22:47:22 +02:00
2012-08-08 16:04:04 -07:00
2012-07-01 22:47:21 +02:00
2012-07-10 23:13:45 -07:00
2012-07-01 22:47:23 +02:00
2012-07-01 22:47:21 +02:00
2012-07-01 22:47:24 +02:00
2012-07-01 22:47:21 +02:00