diff --git a/Projects/Compil32.dpr b/Projects/Compil32.dpr index 0c427080a..512a4b876 100644 --- a/Projects/Compil32.dpr +++ b/Projects/Compil32.dpr @@ -200,6 +200,10 @@ begin end; begin + {$IFDEF DEBUG} + ReportMemoryLeaksOnShutdown := True; + {$ENDIF} + InitialCurDir := GetCurrentDir; if not SetCurrentDir(PathExtractDir(NewParamStr(0))) then SetCurrentDir(GetSystemDir);