diff options
author | George Hazan <ghazan@miranda.im> | 2018-08-27 23:14:25 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-08-27 23:14:25 +0300 |
commit | f0a419165eaba3243a028cbe87f12342396dd69d (patch) | |
tree | b886c6d9e480ad172cd96f691d9cdc7db1c2322b /src/mir_app | |
parent | 12540b96cb64e6fa84d0c7fd2b64864b13a73132 (diff) |
these manual mir_free calls aren't needed anymore
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/protocols.cpp | 8 |
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) {
|