netifd: fix a use-after-free issue on wireless config update
authorFelix Fietkau <nbd@openwrt.org>
Tue, 29 Apr 2014 13:16:21 +0000 (15:16 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 29 Apr 2014 13:16:22 +0000 (15:16 +0200)
commitf96536b6e6a453545b92cb1dda8c6bb420a371a7
tree253a6155de0d37254a6317fa866981775299c69a
parent98ca67469da70accd710b14c28e77be2126170a8
netifd: fix a use-after-free issue on wireless config update

After vlist_add() the device could have been freed

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
wireless.c