mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
[master] Fix minor memory leak in rndc [RT #46739]
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user