From 43a64f3df3160345b68aa1530f4946c580f766c6 Mon Sep 17 00:00:00 2001 From: Jim Norman Date: Wed, 26 Apr 2006 16:56:40 +0000 Subject: [PATCH] Security Audit 5.4: Issue Garbage Collect after loading persistence. --- CASA.changes | 4 ++++ c_micasad/lss/LocalStorage.cs | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/CASA.changes b/CASA.changes index 703e4a4a..b2502f5c 100644 --- a/CASA.changes +++ b/CASA.changes @@ -1,3 +1,7 @@ +------------------------------------------------------------------- +Wed Apr 26 10:55:20 MST 2006 - jnorman@novell.com +- Security Audit 5.4: Issue Garbage Collect after loading persistence. + ------------------------------------------------------------------- Wed Apr 26 10:26:20 MST 2006 - jnorman@novell.com - Security Audit 5.5: Check length of message to be within range. diff --git a/c_micasad/lss/LocalStorage.cs b/c_micasad/lss/LocalStorage.cs index 1d0deedf..a2c290aa 100644 --- a/c_micasad/lss/LocalStorage.cs +++ b/c_micasad/lss/LocalStorage.cs @@ -325,6 +325,10 @@ namespace sscs.lss { CSSSLogger.ExpLog(e.ToString()); } + + // collect now to remove old data from memory + GC.Collect(); + return true; }