From 9ce59b1589c34152483637805232791d61fc5e87 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sat, 13 Aug 2016 17:49:19 +0100 Subject: [PATCH] Free DiscoIdentity and SoftwareVersion --- src/xmpp/capabilities.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xmpp/capabilities.c b/src/xmpp/capabilities.c index a4e9244d..f773a559 100644 --- a/src/xmpp/capabilities.c +++ b/src/xmpp/capabilities.c @@ -633,6 +633,7 @@ _disco_identity_destroy(DiscoIdentity *disco_identity) free(disco_identity->category); free(disco_identity->name); free(disco_identity->type); + free(disco_identity); } } @@ -644,6 +645,7 @@ _software_version_destroy(SoftwareVersion *software_version) free(software_version->software_version); free(software_version->os); free(software_version->os_version); + free(software_version); } }