libDtHelp: Cov 88890 and 88294
authorPeter Howkins <flibble@users.sf.net>
Sat, 11 Aug 2018 00:11:04 +0000 (01:11 +0100)
committerPeter Howkins <flibble@users.sf.net>
Sat, 11 Aug 2018 00:11:04 +0000 (01:11 +0100)
cde/lib/DtHelp/GlobSearch.c

index ef572f4949be334bb7f033534209d1daeab7a269..e789e6e7e5d879582f9226aead03796cadda3616 100644 (file)
@@ -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)