system-linux: fix memory leak on error in system_if_check
authorFelix Fietkau <nbd@openwrt.org>
Thu, 29 Oct 2015 15:06:12 +0000 (16:06 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 29 Oct 2015 15:06:13 +0000 (16:06 +0100)
commitfa64fe118945127007fc6f6f558d0630258790bd
treedf7bcb973f22aef41f748b683b8e4a2ffd4ed7dd
parentbb99e8017b5b99e5ccd2c05c11b516b6e629ab20
system-linux: fix memory leak on error in system_if_check

Detected by Coverity CID 1330302

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