From: Peter Howkins Date: Sat, 11 Aug 2018 00:11:04 +0000 (+0100) Subject: libDtHelp: Cov 88890 and 88294 X-Git-Tag: 2.3.0a~31 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=027bc031fdbec1cb2cb0ab006408653ad208ba06;p=oweals%2Fcde.git libDtHelp: Cov 88890 and 88294 --- 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)