Skip to content

Commit d738f3d

Browse files
committed
fix comment wrong formatting
1 parent a4563c7 commit d738f3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2275,10 +2275,10 @@ MallocChecker::FreeMemAux(CheckerContext &C, const Expr *ArgExpr,
22752275
HandleDoubleFree(C, ParentExpr->getSourceRange(), RsBase->isReleased(),
22762276
SymBase, PreviousRetStatusSymbol);
22772277
return nullptr;
2278+
}
22782279

22792280
// If the pointer is allocated or escaped, but we are now trying to free it,
22802281
// check that the call to free is proper.
2281-
}
22822282
if (RsBase->isAllocated() || RsBase->isAllocatedOfSizeZero() ||
22832283
RsBase->isEscaped()) {
22842284

0 commit comments

Comments
 (0)