summaryrefslogtreecommitdiff
path: root/plugins/SeenPlugin/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-03-21 12:27:08 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-03-21 12:27:08 +0000
commitb0103183841bcbfe1b099bc0a277b3283c6d2900 (patch)
tree53ca4548ada269409356405bfb9fa432af764fa4 /plugins/SeenPlugin/src
parent5dd5ae021d21b5e630d0f2f9865261c0bc559430 (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@12464 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SeenPlugin/src')
-rw-r--r--plugins/SeenPlugin/src/file.cpp2
-rw-r--r--plugins/SeenPlugin/src/seen.h1
-rw-r--r--plugins/SeenPlugin/src/utils.cpp1
3 files changed, 2 insertions, 2 deletions
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();
}
/////////////////////////////////////////////////////////////////////////////////////////