mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 05:57:52 +00:00
[master] Fix minor memory leak in rndc [RT #46739]
This commit is contained in:
parent
61c843815e
commit
1b0ca5d5bb
@ -433,6 +433,7 @@ rndc_recvnonce(isc_task_t *task, isc_event_t *event) {
|
|||||||
|
|
||||||
isc_event_free(&event);
|
isc_event_free(&event);
|
||||||
isccc_sexpr_free(&response);
|
isccc_sexpr_free(&response);
|
||||||
|
isccc_sexpr_free(&request);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -498,6 +499,7 @@ rndc_connected(isc_task_t *task, isc_event_t *event) {
|
|||||||
NULL));
|
NULL));
|
||||||
sends++;
|
sends++;
|
||||||
isc_event_free(&event);
|
isc_event_free(&event);
|
||||||
|
isccc_sexpr_free(&request);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user