2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

cut-and-paste-o caused memory leak

This commit is contained in:
Andreas Gustafsson
2001-05-07 21:01:45 +00:00
parent 25ea25c811
commit 02d8e643ea

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: controlconf.c,v 1.3 2001/04/10 21:50:41 bwelling Exp $ */
/* $Id: controlconf.c,v 1.4 2001/05/07 21:01:45 gson Exp $ */
#include <config.h>
@@ -374,7 +374,7 @@ control_recvmessage(isc_task_t *task, isc_event_t *event) {
if (request != NULL)
isccc_sexpr_free(&request);
if (request != NULL)
if (response != NULL)
isccc_sexpr_free(&response);
return;
@@ -386,7 +386,7 @@ control_recvmessage(isc_task_t *task, isc_event_t *event) {
maybe_free_listener(listener);
if (request != NULL)
isccc_sexpr_free(&request);
if (request != NULL)
if (response != NULL)
isccc_sexpr_free(&response);
}