fix: 修复 GiDrawUtility 失败路径内存泄漏(L3-L6) #62

Merged
gjm merged 1 commits from home-lenovo-legion-r9000/fix/gidrawutility-leak-l3-l6 AGit into main 2026-10-25 18:18:30 +08:00
Collaborator
  • L3: DrawLoft(曲线版) createRegion 失败时清理三个 clone 及已成功的 region
  • L4: DrawBox/DrawSphere 创建失败时释放 pSolid
  • L5: DrawMesh loft 失败时释放 pSection 数组与 vecPLs 中各 polyline
  • L6: DrawPipe(曲线,半径) ARX 扫掠分支补 DELETE_PTR(pReg),与 ZWCAD/extrude 分支对齐
- L3: DrawLoft(曲线版) createRegion 失败时清理三个 clone 及已成功的 region - L4: DrawBox/DrawSphere 创建失败时释放 pSolid - L5: DrawMesh loft 失败时释放 pSection 数组与 vecPLs 中各 polyline - L6: DrawPipe(曲线,半径) ARX 扫掠分支补 DELETE_PTR(pReg),与 ZWCAD/extrude 分支对齐
home-laptop added 1 commit 2026-10-25 18:05:54 +08:00
- L3: DrawLoft(曲线版) createRegion 失败时清理三个 clone 及已成功的 region
- L4: DrawBox/DrawSphere 创建失败时释放 pSolid
- L5: DrawMesh loft 失败时释放 pSection 数组与 vecPLs 中各 polyline
- L6: DrawPipe(曲线,半径) ARX 扫掠分支补 DELETE_PTR(pReg),与 ZWCAD/extrude 分支对齐
gjm approved these changes 2026-10-25 18:18:25 +08:00
gjm merged commit ed996c10bc into main 2026-10-25 18:18:30 +08:00
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gjm/envi-code#62