uci_delete: check ptr->o and its type before checking ptr->value
authorFelix Fietkau <nbd@openwrt.org>
Sun, 29 Sep 2013 11:20:34 +0000 (13:20 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 29 Sep 2013 11:20:34 +0000 (13:20 +0200)
commit2fcc6d756f23b439d24eb061ccd0a815a5626f69
treea413df0544ffbfc81b845e5e37193094375536bb
parentc9c9d5cb085acc58b6579ace83fb79c085a9db27
uci_delete: check ptr->o and its type before checking ptr->value

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