diff options
Diffstat (limited to 'src/xmpp/connection.c')
-rw-r--r-- | src/xmpp/connection.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xmpp/connection.c b/src/xmpp/connection.c index c2ca16fd..24d6759f 100644 --- a/src/xmpp/connection.c +++ b/src/xmpp/connection.c @@ -469,6 +469,9 @@ connection_create_stanza_id(void) GString *signature = g_string_new(""); g_string_printf(signature, "%s%s", msgid, hmac); + free(msgid); + g_free(hmac); + char *b64 = g_base64_encode((unsigned char*)signature->str, signature->len); g_string_free(signature, TRUE); |