From b0103183841bcbfe1b099bc0a277b3283c6d2900 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 21 Mar 2015 12:27:08 +0000 Subject: code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@12464 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SeenPlugin/src/file.cpp | 2 +- plugins/SeenPlugin/src/seen.h | 1 - plugins/SeenPlugin/src/utils.cpp | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/SeenPlugin/src/file.cpp b/plugins/SeenPlugin/src/file.cpp index 91572bcb96..0721abf96f 100644 --- a/plugins/SeenPlugin/src/file.cpp +++ b/plugins/SeenPlugin/src/file.cpp @@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "seen.h" BOOL g_bFileActive; -TCHAR *g_ptszFileStamp, *g_ptszFileName; +static TCHAR *g_ptszFileStamp, *g_ptszFileName; ///////////////////////////////////////////////////////////////////////////////////////// // Prepares the log file: diff --git a/plugins/SeenPlugin/src/seen.h b/plugins/SeenPlugin/src/seen.h index 59090eae93..a6597936fb 100644 --- a/plugins/SeenPlugin/src/seen.h +++ b/plugins/SeenPlugin/src/seen.h @@ -127,7 +127,6 @@ extern HGENMENU hmenuitem; extern DWORD dwmirver; extern BOOL g_bFileActive; -extern TCHAR *g_ptszFileStamp, *g_ptszFileName; void LoadWatchedProtos(); void UnloadWatchedProtos(); diff --git a/plugins/SeenPlugin/src/utils.cpp b/plugins/SeenPlugin/src/utils.cpp index 230f23486b..64fa20c6c9 100644 --- a/plugins/SeenPlugin/src/utils.cpp +++ b/plugins/SeenPlugin/src/utils.cpp @@ -40,6 +40,7 @@ void UnloadWatchedProtos() { for (int i = 0; i < arWatchedProtos.getCount(); i++) mir_free(arWatchedProtos[i]); + arWatchedProtos.destroy(); } ///////////////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3