summaryrefslogtreecommitdiff
path: root/net/batman-adv/gateway_common.h
diff options
context:
space:
mode:
authorSimon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>2011-11-02 20:26:45 +0100
committerSven Eckelmann <sven@narfation.org>2011-11-20 13:08:36 +0100
commit80b3f58cf416770ae89b30734d252d641a56d289 (patch)
tree2ec071472dd768a3e867fe12e003c7bc3026eee5 /net/batman-adv/gateway_common.h
parent697f25314a923f75deef0d3b10991dd103f59d93 (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>
Diffstat (limited to 'net/batman-adv/gateway_common.h')
0 files changed, 0 insertions, 0 deletions