device: Fix possible segfault
authorHans Dedecker <dedeckeh@gmail.com>
Mon, 1 Feb 2016 09:56:15 +0000 (10:56 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 1 Feb 2016 10:09:57 +0000 (11:09 +0100)
commit94c120a34f4d77ccaa9dbe42d4d74624593b6785
tree0358ea01703f07fc09427a38a1f548d7699e8dc0
parent1dd3df775f0beb089d8ed6ba665ee93dd4997847
device: Fix possible segfault

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
device.c