index c77951a20246ba7a3e2d4a8a8474cac5900eded4..21c603ad497fab30db9189405ba807b874001f06 100644 (file)
{
int i;
+ if (! ci) /* nothing to do to deconfigure this plugin */
+ return 0;
+
for (i = 0; i < ci->children_num; ++i) {
oconfig_item_t *child = ci->children + i;