about summary refs log tree commit diff stats
path: root/src/config
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-06-24 20:53:04 +0100
committerJames Booth <boothj5@gmail.com>2015-06-24 20:53:04 +0100
commit240f6a3f79e42c0463ae4c1cc221efd7883463fd (patch)
tree823ce3c32c893ef8c4a139e3328ae6da38c462c6 /src/config
parent626ab51ed4bcef7a97b717e7a20c6ad20b4c0ea5 (diff)
downloadprofani-tty-240f6a3f79e42c0463ae4c1cc221efd7883463fd.tar.gz
Fixed various jid and account mem leaks
Diffstat (limited to 'src/config')
-rw-r--r--src/config/accounts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config/accounts.c b/src/config/accounts.c
index 218e9d30..a827392b 100644
--- a/src/config/accounts.c
+++ b/src/config/accounts.c
@@ -411,6 +411,8 @@ accounts_set_jid(const char * const account_name, const char * const value)
 
             _save_accounts();
         }
+
+        jid_destroy(jid);
     }
 }