From: Andreas Gustafsson Date: Tue, 17 Oct 2000 18:40:10 +0000 (+0000) Subject: pullup: X-Git-Tag: v9.0.0^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82d1ce3037be556a28bf916f37de498c1b1ce2cf;p=thirdparty%2Fbind9.git pullup: An event could be freed twice. cvs commit -mpullup: --- diff --git a/bin/named/lwdgnba.c b/bin/named/lwdgnba.c index 165313b8bdc..0b5b465a2a1 100644 --- a/bin/named/lwdgnba.c +++ b/bin/named/lwdgnba.c @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: lwdgnba.c,v 1.3.2.1 2000/06/26 21:47:35 gson Exp $ */ +/* $Id: lwdgnba.c,v 1.3.2.2 2000/10/17 18:40:10 gson Exp $ */ #include @@ -170,7 +170,8 @@ byaddr_done(isc_task_t *task, isc_event_t *event) { lwres_context_freemem(cm->lwctx, lwb.base, lwb.length); - isc_event_free(&event); + if (event != NULL) + isc_event_free(&event); } static void