commit 8c681dd213e804c870565a26a77f936bfb2beb1e parent 7294081ec31678c4e758d9b981ef5db6742dac6c Author: hhvn <dev@hhvn.uk> Date: Tue, 26 Apr 2022 01:15:30 +0100 Free server itself in free_serv() Diffstat:
M | src/serv.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/serv.c b/src/serv.c @@ -64,7 +64,7 @@ serv_free(struct Server *server) { if (server->tls_ctx) tls_free(server->tls_ctx); #endif /* TLS */ - pfree(&p); + pfree(&server); } struct Server *