Commit 470c726b authored by Mark Andrews's avatar Mark Andrews
Browse files

silence dereferencing type-punned pointer will break strict-aliasing rules warning

parent ade83e60
......@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: validator.c,v 1.136 2005/11/30 03:33:49 marka Exp $ */
/* $Id: validator.c,v 1.137 2005/11/30 05:01:34 marka Exp $ */
/*! \file */
......@@ -2819,7 +2819,7 @@ dns_validator_create(dns_view_t *view, dns_name_t *name, dns_rdatatype_t type,
cleanup_event:
isc_task_detach(&tclone);
isc_event_free((isc_event_t **)&event);
isc_event_free(ISC_EVENT_PTR(&event));
cleanup_val:
dns_view_weakdetach(&val->view);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment