From e61f372720870be10f4283954d5146fd636715b6 Mon Sep 17 00:00:00 2001 From: Ann Priestman Date: Thu, 21 Mar 2019 13:21:19 -0400 Subject: [PATCH] Clear out the artifact caches and set the case to null. --- .../sleuthkit/autopsy/report/CreatePortableCaseModule.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Core/src/org/sleuthkit/autopsy/report/CreatePortableCaseModule.java b/Core/src/org/sleuthkit/autopsy/report/CreatePortableCaseModule.java index 3ce5c3a369..b0db1d0b46 100644 --- a/Core/src/org/sleuthkit/autopsy/report/CreatePortableCaseModule.java +++ b/Core/src/org/sleuthkit/autopsy/report/CreatePortableCaseModule.java @@ -708,14 +708,18 @@ public class CreatePortableCaseModule implements GeneralReportModule { oldIdToNewContent.clear(); newIdToContent.clear(); oldTagNameToNewTagName.clear(); + oldArtTypeIdToNewArtTypeId.clear(); + oldAttrTypeIdToNewAttrType.clear(); + oldArtifactIdToNewArtifact.clear(); + currentCase = null; if (portableSkCase != null) { portableSkCase.close(); + portableSkCase = null; } caseFolder = null; copiedFilesFolder = null; } - @Override public JPanel getConfigurationPanel() {