From 027bc031fdbec1cb2cb0ab006408653ad208ba06 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Sat, 11 Aug 2018 01:11:04 +0100 Subject: [PATCH] libDtHelp: Cov 88890 and 88294 --- cde/lib/DtHelp/GlobSearch.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cde/lib/DtHelp/GlobSearch.c b/cde/lib/DtHelp/GlobSearch.c index ef572f49..e789e6e7 100644 --- a/cde/lib/DtHelp/GlobSearch.c +++ b/cde/lib/DtHelp/GlobSearch.c @@ -510,6 +510,9 @@ static Boolean GetVolumeInfoCB ( *ret_docId = locDocId ? locDocId : XtNewString(&empty); if (ret_timeStamp) *ret_timeStamp = locTimeStamp?locTimeStamp:XtNewString(&empty); + + free(locDocId); + free(locTimeStamp); } if (ret_nameKey) -- 2.25.1