summaryrefslogtreecommitdiffstats
path: root/src/entry.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2018-12-26 08:49:26 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2018-12-26 10:49:42 (GMT)
commitb6662b61dd83be32481a1c83e092082e9d797f0a (patch)
treefcf4bf395d5bc6de2cbf94fc78dc25bd8772a521 /src/entry.cpp
parent348a8cc72dd481fa9e65e6209946bfeef5716914 (diff)
downloadDoxygen-b6662b61dd83be32481a1c83e092082e9d797f0a.zip
Doxygen-b6662b61dd83be32481a1c83e092082e9d797f0a.tar.gz
Doxygen-b6662b61dd83be32481a1c83e092082e9d797f0a.tar.bz2
Fixed some more small memory leaks
Diffstat (limited to 'src/entry.cpp')
-rw-r--r--src/entry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entry.cpp b/src/entry.cpp
index 15c6fec..b3693cd 100644
--- a/src/entry.cpp
+++ b/src/entry.cpp
@@ -170,7 +170,7 @@ Entry::Entry(const Entry &e)
SectionInfo *s;
for (;(s=sli2.current());++sli2)
{
- anchors->append(new SectionInfo(*s));
+ anchors->append(s); // shallow copy, object are owned by Doxygen::sectionDict
}
// deep copy type constraint list