Skip to content
Snippets Groups Projects
Commit 6bf6c220 authored by Lubos Slovak's avatar Lubos Slovak
Browse files

Freeing changesets after IXFR/OUT

refs #1531 @30m
parent 75ecf3ef
No related branches found
No related tags found
No related merge requests found
......@@ -1248,6 +1248,11 @@ static int xfr_process_request(xfrworker_t *w, uint8_t *buf, size_t buflen)
knot_packet_free(&xfr.response); /* Free response. */
xfr.response = NULL;
if (xfr.data != NULL) { /* Free changesets. */
knot_free_changesets((knot_changesets_t **)
(&xfr.data));
}
if (zname) {
free(zname);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment