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:
parent
61c843815e
commit
1b0ca5d5bb
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user