abandonDependences() uses unique_ptr::release() which releases ownership without freeing the Dependences object, causing a memory leak. Use unique_ptr::reset() instead to properly delete the object before nullifying the pointer. The issue was found when AddressSanitizer is enabled in the build. |
||
|---|---|---|
| .. | ||
| DependenceInfo.cpp | ||
| PruneUnprofitable.cpp | ||
| ScopBuilder.cpp | ||
| ScopDetection.cpp | ||
| ScopDetectionDiagnostic.cpp | ||
| ScopGraphPrinter.cpp | ||
| ScopInfo.cpp | ||