Skip to content

Commit a25162b

Browse files
committed
Fix leaking memory by removing a useless assignment
Signed-off-by: Dimitar Dobrev <[email protected]>
1 parent e323778 commit a25162b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/CppParser/Parser.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3209,7 +3209,6 @@ void Parser::WalkFunction(const clang::FunctionDecl* FD, Function* F)
32093209
if (FD->isExternallyVisible())
32103210
CompleteIfSpecializationType(ReturnType);
32113211
F->returnType = GetQualifiedType(ReturnType, &RTL);
3212-
F->qualifiedType = GetQualifiedType(FD->getType(), &FTL);
32133212

32143213
const auto& Mangled = GetDeclMangledName(FD);
32153214
F->mangled = Mangled;

0 commit comments

Comments
 (0)