summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-08-27 23:14:25 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-08-27 23:14:25 +0300
commitf0a419165eaba3243a028cbe87f12342396dd69d (patch)
treeb886c6d9e480ad172cd96f691d9cdc7db1c2322b /src/mir_app
parent12540b96cb64e6fa84d0c7fd2b64864b13a73132 (diff)
these manual mir_free calls aren't needed anymore
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/protocols.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mir_app/src/protocols.cpp b/src/mir_app/src/protocols.cpp
index 6b6aea19e8..bb327a1144 100644
--- a/src/mir_app/src/protocols.cpp
+++ b/src/mir_app/src/protocols.cpp
@@ -489,13 +489,9 @@ int LoadProtocolsModule(void)
void UnloadProtocolsModule()
{
- if (!bModuleInitialized) return;
+ if (!bModuleInitialized)
+ return;
- for (auto &p : g_arProtos) {
- mir_free(p->szUniqueId);
- mir_free(p->szName);
- mir_free(p);
- }
g_arProtos.destroy();
if (hAckEvent) {