From: Peter Howkins Date: Sat, 11 Aug 2018 00:26:59 +0000 (+0100) Subject: libDtHelp: Cov 88365 X-Git-Tag: 2.3.0a~28 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6a15c3deaa3a2fa7261814c3ab483ed49a7b3e50;p=oweals%2Fcde.git libDtHelp: Cov 88365 --- diff --git a/cde/lib/DtHelp/Access.c b/cde/lib/DtHelp/Access.c index 5b2ac475..bd08c941 100644 --- a/cde/lib/DtHelp/Access.c +++ b/cde/lib/DtHelp/Access.c @@ -2654,6 +2654,7 @@ _DtHelpCeIsTopTopic ( if (_DtHelpCeMapCcdfTargetToId(vol, id, &topicId) == 0 && _DtHelpCeGetCcdfTopTopic(vol, &topId) == 0) result = _DtHelpCeStrCaseCmpLatin1(topId, topicId); + free(topicId); } else if (_DtHelpCeMapIdToSdlTopicId(vol, id, &topicId) == 0) {