Skip to content

Commit 425346f

Browse files
Merge pull request #33 from deligeer/patch-4
Update NurbsSurface.cpp over com memory leak
2 parents 5e97c32 + a3af01b commit 425346f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LNLib/Geometry/Surface/NurbsSurface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1741,7 +1741,7 @@ void LNLib::NurbsSurface::MakeCornerFilletSurface(const LN_NurbsCurve& arc, LN_N
17411741
}
17421742
}
17431743

1744-
std::vector<std::vector<XYZW>> b(4, std::vector<XYZW>(2));
1744+
std::vector<std::vector<XYZW>> b(5, std::vector<XYZW>(3));
17451745
b[0][0] = XYZW(0, 0, 0, 4 * radius2 * h[0][0]);
17461746
b[0][1] = XYZW(4 * radius2 * u[0][1] * h[0][0], 0, 0, 1);
17471747
b[0][2] = XYZW(0, 0, 2 * radius * pow(u[0][1], 2), pow(u[0][1], 2));

0 commit comments

Comments
 (0)