Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
lurch
Commits
68d1effe
Commit
68d1effe
authored
Apr 21, 2018
by
Richard Bayerle
Browse files
Destroy message after exporting.
I think sending encrypted messages was leaking memory this whole time...
parent
530c6147
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lurch.c
View file @
68d1effe
...
...
@@ -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
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment