summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();
}
/////////////////////////////////////////////////////////////////////////////////////////