From 11dc16f2f05a55a1168d17a98bb54372133fe896 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Mon, 21 Dec 2020 16:51:17 +0100 Subject: [PATCH] Fix two memleaks --- src/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.c b/src/main.c index 7f1dcd2..6af96af 100644 --- a/src/main.c +++ b/src/main.c @@ -514,6 +514,9 @@ int main(int argc, char *argv[]) { xmpp_ctx_free(xmppc.ctx); xmpp_shutdown(); + free(jid); + free(pwd); + return EXIT_SUCCESS; }