From: Peter Howkins Date: Wed, 7 Nov 2018 01:05:56 +0000 (+0000) Subject: libDtHelp: Fix a regression with the Help Index pages caused by an overzealous Coveri... X-Git-Tag: 2.3.0a~23 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fff0c545387028eeeb6ac89d7c9c0d94fb46965b;p=oweals%2Fcde.git libDtHelp: Fix a regression with the Help Index pages caused by an overzealous Coverity fix --- diff --git a/cde/lib/DtHelp/GlobSearch.c b/cde/lib/DtHelp/GlobSearch.c index e789e6e7..ef572f49 100644 --- a/cde/lib/DtHelp/GlobSearch.c +++ b/cde/lib/DtHelp/GlobSearch.c @@ -510,9 +510,6 @@ 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)