netifd: Fix possible segfault in bridge code
authorHelmut Schaa <helmut.schaa@googlemail.com>
Fri, 29 Nov 2013 14:22:34 +0000 (15:22 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 29 Nov 2013 14:33:44 +0000 (15:33 +0100)
commitedeaec0b8752bbadeb5b94c2b238e07dc4a1b4e4
treebfb6770241b60e49a0caf633b30f4d6e968817f0
parentfbb4a83633fd935748dd3c26d4fc28821db71cdd
netifd: Fix possible segfault in bridge code

Need to check calloc result. In case of failure the bridge member will be missing.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
bridge.c