Commit 68d1effe authored by Richard Bayerle's avatar Richard Bayerle
Browse files

Destroy message after exporting.

I think sending encrypted messages was leaking memory this whole time...
parent 530c6147
......@@ -1448,8 +1448,7 @@ static int lurch_msg_finalize_encryption(JabberStream * js_p, axc_context * axc_
goto cleanup;
}
//TODO: destroy omemo message here
omemo_message_destroy(om_msg_p);
temp_node_p = xmlnode_from_str(xml, -1);
*msg_stanza_pp = temp_node_p;
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment