Skip to content
Snippets Groups Projects
Commit a07fa2b5 authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

TSIG: fix memory leak in tsig_reset()

parent cdcdc93e
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,7 @@ void tsig_reset(tsig_ctx_t *ctx)
}
const knot_tsig_key_t *backup = ctx->key;
tsig_cleanup(ctx);
tsig_init(ctx, backup);
}
......
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