uintptr_t *refcount = (uintptr_t *)&cip->exts[wwccext];
(*refcount)--;
- assert(*refcount >= 0);
-
if (*refcount == 0)
releasechanindex(cip);
}
}
free(wchans);
+ np->exts[wwcnext] = NULL;
}
static void wwc_hook_newrecord(int hooknum, void *arg) {
wwc_refchannel(wchans[i]);
ww->channels[i] = wchans[i];
}
-
- np->exts[wwcnext] = NULL;
}
static void wwc_hook_lostrecord(int hooknum, void *arg) {