From 853bdf0154a9ba862489c4c4b287d7db8d0145fe Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 14 Aug 2013 19:59:17 +0000 Subject: memory corruption fix git-svn-id: http://svn.miranda-ng.org/main/trunk@5692 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/trayicon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/TabSRMM/src') diff --git a/plugins/TabSRMM/src/trayicon.cpp b/plugins/TabSRMM/src/trayicon.cpp index 7443fd74ad..277c8fb887 100644 --- a/plugins/TabSRMM/src/trayicon.cpp +++ b/plugins/TabSRMM/src/trayicon.cpp @@ -346,7 +346,7 @@ void TSAPI LoadFavoritesAndRecent() } if (iIndex == 0) { - mir_free(recentEntries); + delete[] recentEntries; return; } -- cgit v1.2.3