Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LEFEBVREJP email
radix
Commits
3b365a23
Commit
3b365a23
authored
Feb 18, 2021
by
LEFEBVREJP email
Browse files
Merge branch 'geometry_fortify' into 'master'
Resolve memory leak. See merge request
!104
parents
55525692
42d82e64
Pipeline
#136349
passed with stages
in 19 minutes and 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
radixgeometry/geometryfactory.cc
View file @
3b365a23
...
...
@@ -26,6 +26,7 @@ Plane *GeometryFactory::createPlane(GeometryPool &pool, const Real a,
return
plane
;
}
Cuboid
*
GeometryFactory
::
createCuboid
(
GeometryPool
&
pool
,
const
Real
x0
,
const
Real
x1
,
const
Real
y0
,
const
Real
y1
,
const
Real
z0
,
...
...
@@ -188,8 +189,10 @@ Union *GeometryFactory::createUnion(GeometryPool &pool, GeometryObject *left,
}
Union
*
theUnion
=
createUnion
(
pool
,
left
,
allOnTheRight
);
delete
allOnTheRight
;
return
theUnion
;
}
Instance
*
GeometryFactory
::
createInstance
(
GeometryPool
&
pool
,
GeometryObject
*
object
,
Instance
*
parent
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment