diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2017-04-29 20:06:03 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2017-04-29 20:06:43 +0300 |
commit | aa84da37b9bd0f256fec92f467a07b7385ebd8b8 (patch) | |
tree | 617475715fcc5790284c08951dd674727b8d8c89 /protocols | |
parent | 3359dbc28d563478a6fd8b6859caf3611aab27b4 (diff) |
jabber: omemo: forgotten bits....
Diffstat (limited to 'protocols')
-rwxr-xr-x | protocols/JabberG/src/jabber_omemo.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/JabberG/src/jabber_omemo.cpp b/protocols/JabberG/src/jabber_omemo.cpp index 16144ea3e2..b4430cd6cf 100755 --- a/protocols/JabberG/src/jabber_omemo.cpp +++ b/protocols/JabberG/src/jabber_omemo.cpp @@ -844,7 +844,7 @@ namespace omemo { mir_free(*i);
count++;
}
- mir_free(ud);
+ delete ud;
return count;
}
@@ -1608,9 +1608,7 @@ void CJabberProto::OmemoSendBundle() //add prekeys
HXML prekeys_node = XmlAddChild(bundle_node, L"prekeys");
- //TODO: use enum here
db_enum_settings_prekeys_cb_data *ud = new db_enum_settings_prekeys_cb_data;
- //ud->settings = std::list<char*>();
db_enum_settings(0, &db_enum_settings_prekeys_cb, m_szModuleName, (void*)ud);
for (std::list<char*>::iterator i = ud->settings.begin(), end = ud->settings.end(); i != end; i++)
{
|