summaryrefslogtreecommitdiffstats
path: root/src/msc.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-08-31 14:52:19 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-08-31 14:52:19 (GMT)
commit41887832b90698df95e8d222cdc0a541ae2f2284 (patch)
tree9ac6b9d9f07d8c5821fdd1b7d689db594a09414e /src/msc.cpp
parentb59edd279f887e55b162ae1b1c7bce4b2ca29dab (diff)
downloadDoxygen-41887832b90698df95e8d222cdc0a541ae2f2284.zip
Doxygen-41887832b90698df95e8d222cdc0a541ae2f2284.tar.gz
Doxygen-41887832b90698df95e8d222cdc0a541ae2f2284.tar.bz2
Fixed a number of issues (resource leaks, uninitialized members, etc) found by coverity
Diffstat (limited to 'src/msc.cpp')
-rw-r--r--src/msc.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/msc.cpp b/src/msc.cpp
index ebbba0f..f9e919c 100644
--- a/src/msc.cpp
+++ b/src/msc.cpp
@@ -74,6 +74,7 @@ static bool convertMapFile(FTextStream &t,const char *mapName,const QCString rel
t << externalRef(relPath,df->ref(),TRUE);
if (!df->file().isEmpty()) t << df->file() << Doxygen::htmlFileExtension;
if (!df->anchor().isEmpty()) t << "#" << df->anchor();
+ delete df;
}
else
{