commit | 80b3f58cf416770ae89b30734d252d641a56d289 | [log] [tgz] |
---|---|---|
author | Simon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de> | Wed Nov 02 20:26:45 2011 +0100 |
committer | Sven Eckelmann <sven@narfation.org> | Sun Nov 20 13:08:36 2011 +0100 |
tree | 2ec071472dd768a3e867fe12e003c7bc3026eee5 | |
parent | 697f25314a923f75deef0d3b10991dd103f59d93 [diff] |
batman-adv: check return value for hash_add() if hash_add() fails, we should remove the structure to avoid memory leaks. Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de> Acked-by: Antonio Quartulli <ordex@autistici.org> Signed-off-by: Sven Eckelmann <sven@narfation.org>