Martin Hundebøll
f69ae770e7
batman-adv: Avoid double freeing of bat_counters
...
On errors in batadv_mesh_init(), bat_counters will be freed in both
batadv_mesh_free() and batadv_softif_init_late(). This patch fixes this
by returning earlier from batadv_softif_init_late() in case of errors in
batadv_mesh_init() and by setting bat_counters to NULL after freeing.
Signed-off-by: Martin Hundebøll <martin@hundeboll.net>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
2013-05-21 21:34:36 +02:00
..
2013-01-19 21:18:12 +08:00
2013-03-13 22:53:49 +01:00
2013-01-19 21:18:12 +08:00
2013-01-19 21:18:12 +08:00
2013-04-19 14:46:06 -04:00
2013-01-19 21:18:12 +08:00
2013-03-13 22:53:49 +01:00
2013-01-19 21:18:12 +08:00
2013-05-09 12:39:45 +02:00
2013-01-19 21:18:12 +08:00
2013-03-27 10:29:55 +01:00
2013-01-19 21:18:12 +08:00
2013-01-19 21:18:12 +08:00
2013-01-19 21:18:12 +08:00
2013-03-27 10:29:53 +01:00
2013-03-27 10:27:32 +01:00
2013-01-19 21:18:12 +08:00
2013-01-19 21:18:12 +08:00
2013-01-19 21:18:12 +08:00
2013-01-19 21:18:12 +08:00
2013-03-13 22:53:48 +01:00
2013-05-21 21:34:36 +02:00
2013-04-22 20:32:51 -04:00
2013-03-27 10:29:54 +01:00
2013-05-09 12:39:44 +02:00
2013-03-13 22:53:50 +01:00
2013-05-17 09:54:28 +02:00
2013-05-17 09:54:28 +02:00
2013-03-27 10:27:31 +01:00
2013-01-19 21:18:12 +08:00
2013-01-19 21:18:12 +08:00
2013-04-30 03:55:20 -04:00
2013-01-19 21:18:12 +08:00
2013-03-13 22:53:50 +01:00
2013-01-19 21:18:12 +08:00
2013-05-21 21:34:36 +02:00
2013-03-27 10:27:34 +01:00
2013-03-27 10:27:32 +01:00
2013-01-19 21:18:12 +08:00
2013-05-17 09:54:28 +02:00
2013-01-19 21:18:12 +08:00
2013-03-13 22:53:51 +01:00
2013-03-13 22:53:48 +01:00
2013-01-19 21:18:12 +08:00
2013-04-22 20:32:51 -04:00
2013-01-19 21:18:12 +08:00