+2097. [bug] named could reference a destroyed memory context
+ after being reloaded / reconfigured. [RT #16428]
+
2096. [bug] libbind: handle applications that fail to detect
res_init() failures better.
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: resolver.c,v 1.284.18.51 2006/08/31 03:57:05 marka Exp $ */
+/* $Id: resolver.c,v 1.284.18.52 2006/10/18 04:24:19 marka Exp $ */
/*! \file */
clone = NULL;
isc_task_attach(task, &clone);
event = (dns_fetchevent_t *)
- isc_event_allocate(fctx->res->buckets[fctx->bucketnum].mctx,
- clone, DNS_EVENT_FETCHDONE,
+ isc_event_allocate(fctx->res->mctx, clone, DNS_EVENT_FETCHDONE,
action, arg, sizeof(*event));
if (event == NULL) {
isc_task_detach(&clone);