batman-adv: Remove vis info element in free_info
authorSven Eckelmann <sven@narfation.org>
Fri, 28 Jan 2011 17:34:06 +0000 (18:34 +0100)
committerSven Eckelmann <sven@narfation.org>
Sun, 30 Jan 2011 09:32:06 +0000 (10:32 +0100)
commitdda9fc6b2c59f056e7a2b313b8423b14a4df25a9
tree0ad7d73e862e92d26b30b857f3ffa958f2637912
parent2674c15870f888cb732a564fc504ce17654afc64
batman-adv: Remove vis info element in free_info

The free_info function will be called when no reference to the info
object exists anymore. It must be ensured that the allocated memory
gets freed and not only the elements which are managed by the info
object.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
net/batman-adv/vis.c