Skip to content

Commit c63d5cb

Browse files
committed
CheckLeakAutoVar: fix in VarInfo::erase for referenced.
1 parent a361f01 commit c63d5cb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/checkleakautovar.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ class CPPCHECKLIB VarInfo {
5353
alloctype.erase(varid);
5454
possibleUsage.erase(varid);
5555
conditionalAlloc.erase(varid);
56+
referenced.erase(varid);
5657
}
5758

5859
void swap(VarInfo &other) {

0 commit comments

Comments
 (0)