about summary refs log tree commit diff stats
path: root/src/xmpp/omemo.c
diff options
context:
space:
mode:
authorPaul Fariello <paul@fariello.eu>2021-08-20 15:33:31 +0200
committerPaul Fariello <paul@fariello.eu>2021-08-20 15:33:31 +0200
commit314d0034edf9065319388c388355076aa53d8346 (patch)
tree026d1479b8f687ed92ee9e91fd322f49734111bd /src/xmpp/omemo.c
parent35814d8bd06bc49a59e92a676a55e579aaa7415c (diff)
downloadprofani-tty-314d0034edf9065319388c388355076aa53d8346.tar.gz
Fix memleak
Diffstat (limited to 'src/xmpp/omemo.c')
-rw-r--r--src/xmpp/omemo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xmpp/omemo.c b/src/xmpp/omemo.c
index 4114c4ea..549c88a6 100644
--- a/src/xmpp/omemo.c
+++ b/src/xmpp/omemo.c
@@ -639,6 +639,8 @@ _omemo_devicelist_configure_result(xmpp_stanza_t* const stanza, void* const user
     char* barejid = connection_get_barejid();
     omemo_devicelist_request(barejid);
 
+    free(barejid);
+
     return 0;
 }