summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
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) {