about summary refs log tree commit diff stats
path: root/src/xmpp
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-08-13 17:49:19 +0100
committerJames Booth <boothj5@gmail.com>2016-08-13 17:49:19 +0100
commit9ce59b1589c34152483637805232791d61fc5e87 (patch)
tree029e47ec9b676a43c9316385d4918ad30ac44592 /src/xmpp
parented75f1ec71e7f3b4e025af7a4eb61673f97f19b2 (diff)
downloadprofani-tty-9ce59b1589c34152483637805232791d61fc5e87.tar.gz
Free DiscoIdentity and SoftwareVersion
Diffstat (limited to 'src/xmpp')
-rw-r--r--src/xmpp/capabilities.c2
1 files changed, 2 insertions, 0 deletions
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);
     }
 }