修复 AecDbXSlab 的 L1-L9 内存泄漏 #85

Merged
gjm merged 1 commits from company-laptop/fix-aecdbslab-memory-leaks AGit into main 2026-10-27 14:31:07 +08:00
Collaborator
  • L1 GetOffsetCurve 失败分支补 FreeBuffer,不再整批泄漏 offset 曲线
  • L2 CreatePipeRegion 的 booleanOper 操作数未释放,成功/失败路径均补齐
  • L3 IsPointInSide 折线分支返回前未删 GetBasinShapeCurve 新建的曲线
  • L4 Draw2d 圆板分支与无 KEY_ORGPT 分支中未进缓存的 pShape 泄漏
  • L5 SetRegionSlab(LPCTSTR) 的 explode 碎片未释放
  • L6 SetEllipseBasin 的 offset 曲线与多余截面 region 未释放
  • L7 PeelBasinWall 的 explode 碎片未释放(SetBaseCurve 内部 clone)
  • L8 SetProperties eXDB 分支的 pXYPoly 未释放
  • L9 DrawHatch 未被 ConvertBoundCurve 接管的克隆、非 polyline 的 pCurve 泄漏
- L1 GetOffsetCurve 失败分支补 FreeBuffer,不再整批泄漏 offset 曲线 - L2 CreatePipeRegion 的 booleanOper 操作数未释放,成功/失败路径均补齐 - L3 IsPointInSide 折线分支返回前未删 GetBasinShapeCurve 新建的曲线 - L4 Draw2d 圆板分支与无 KEY_ORGPT 分支中未进缓存的 pShape 泄漏 - L5 SetRegionSlab(LPCTSTR) 的 explode 碎片未释放 - L6 SetEllipseBasin 的 offset 曲线与多余截面 region 未释放 - L7 PeelBasinWall 的 explode 碎片未释放(SetBaseCurve 内部 clone) - L8 SetProperties eXDB 分支的 pXYPoly 未释放 - L9 DrawHatch 未被 ConvertBoundCurve 接管的克隆、非 polyline 的 pCurve 泄漏
company-laptop added 1 commit 2026-10-27 14:10:53 +08:00
- L1 GetOffsetCurve 失败分支补 FreeBuffer,不再整批泄漏 offset 曲线
- L2 CreatePipeRegion 的 booleanOper 操作数未释放,成功/失败路径均补齐
- L3 IsPointInSide 折线分支返回前未删 GetBasinShapeCurve 新建的曲线
- L4 Draw2d 圆板分支与无 KEY_ORGPT 分支中未进缓存的 pShape 泄漏
- L5 SetRegionSlab(LPCTSTR) 的 explode 碎片未释放
- L6 SetEllipseBasin 的 offset 曲线与多余截面 region 未释放
- L7 PeelBasinWall 的 explode 碎片未释放(SetBaseCurve 内部 clone)
- L8 SetProperties eXDB 分支的 pXYPoly 未释放
- L9 DrawHatch 未被 ConvertBoundCurve 接管的克隆、非 polyline 的 pCurve 泄漏
gjm merged commit a29822cb69 into main 2026-10-27 14:31:07 +08:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gjm/envi-code#85