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
42d82e64
Commit
42d82e64
authored
Feb 18, 2021
by
Norby, Tom
Browse files
Resolve memory leak.
parent
55525692
Pipeline
#136297
passed with stages
in 20 minutes and 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
radixgeometry/geometryfactory.cc
View file @
42d82e64
...
...
@@ -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