2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

An event could be freed twice.

This commit is contained in:
Brian Wellington 2000-10-17 18:34:52 +00:00
parent c7b92f5f23
commit dd8e07322b

View File

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwdgnba.c,v 1.7 2000/10/12 20:45:17 bwelling Exp $ */
/* $Id: lwdgnba.c,v 1.8 2000/10/17 18:34:52 bwelling Exp $ */
#include <config.h>
@ -168,7 +168,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