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

[master] Fix minor memory leak in rndc [RT #46739]

This commit is contained in:
Ondřej Surý 2017-12-01 14:48:32 +01:00
parent 61c843815e
commit 1b0ca5d5bb

View File

@ -433,6 +433,7 @@ rndc_recvnonce(isc_task_t *task, isc_event_t *event) {
isc_event_free(&event);
isccc_sexpr_free(&response);
isccc_sexpr_free(&request);
return;
}
@ -498,6 +499,7 @@ rndc_connected(isc_task_t *task, isc_event_t *event) {
NULL));
sends++;
isc_event_free(&event);
isccc_sexpr_free(&request);
}
static void