summaryrefslogtreecommitdiff
path: root/plugins/TrafficCounter/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TrafficCounter/src')
-rw-r--r--plugins/TrafficCounter/src/TrafficCounter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TrafficCounter/src/TrafficCounter.cpp b/plugins/TrafficCounter/src/TrafficCounter.cpp
index 994752626b..81ad671711 100644
--- a/plugins/TrafficCounter/src/TrafficCounter.cpp
+++ b/plugins/TrafficCounter/src/TrafficCounter.cpp
@@ -1206,14 +1206,14 @@ void CreateProtocolList(void)
void DestroyProtocolList(void)
{
- for (int i = 0; i < NumberOfAccounts; i++)
- {
+ for (int i = 0; i < NumberOfAccounts; i++) {
Stat_CheckStatistics(i);
CloseHandle(ProtoList[i].hFile);
+ mir_free(ProtoList[i].tszAccountName);
mir_free(ProtoList[i].name);
mir_free(ProtoList[i].AllStatistics);
}
- //
+
mir_free(ProtoList);
}