Commit 61facaae authored by Mark Andrews's avatar Mark Andrews

change 2390 leaked memory

parent 8afedf9e
......@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dispatch.c,v 1.145 2008/07/18 02:35:42 jinmei Exp $ */
/* $Id: dispatch.c,v 1.146 2008/07/18 06:09:39 marka Exp $ */
/*! \file */
......@@ -1040,6 +1040,8 @@ udp_recv(isc_event_t *ev_in, dns_dispatch_t *disp, dispsocket_t *dispsock) {
goto sendresponse;
}
} else {
free_buffer(disp, ev->region.base, ev->region.length);
UNLOCK(&disp->lock);
isc_event_free(&ev_in);
return;
......
Markdown is supported
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