Fix two memleaks

This commit is contained in:
Michael Vetter 2020-12-21 16:51:17 +01:00
parent 9b00e75aa5
commit 11dc16f2f0

View File

@ -514,6 +514,9 @@ int main(int argc, char *argv[]) {
xmpp_ctx_free(xmppc.ctx); xmpp_ctx_free(xmppc.ctx);
xmpp_shutdown(); xmpp_shutdown();
free(jid);
free(pwd);
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }