From 3fe29c24524bbef94ea482815a43f2de60095c90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Berenguel?= Date: Tue, 20 Aug 2024 15:29:26 -0300 Subject: [PATCH] #2299: free memory used by md5ToLocalPath --- .../src/main/java/iped/engine/datasource/UfedXmlReader.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/iped-engine/src/main/java/iped/engine/datasource/UfedXmlReader.java b/iped-engine/src/main/java/iped/engine/datasource/UfedXmlReader.java index 090f4c2ca7..7b2e6724a6 100644 --- a/iped-engine/src/main/java/iped/engine/datasource/UfedXmlReader.java +++ b/iped-engine/src/main/java/iped/engine/datasource/UfedXmlReader.java @@ -806,6 +806,9 @@ else if (item != null && !value.isEmpty()) { } else if (qName.equals("targetid") && parentNode.element.equals("jumptargets")) { //$NON-NLS-1$ //$NON-NLS-2$ item.getMetadata().add(ExtraProperties.UFED_META_PREFIX + parentNode.element, chars.toString().trim()); + } else if (qName.equals("taggedFiles")) { //$NON-NLS-1$ + md5ToLocalPath.clear(); + } else if (qName.equals("file")) { //$NON-NLS-1$ itemSeq.remove(itemSeq.size() - 1);