Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
integration-cfmesh
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Community
integration-cfmesh
Commits
b48c5f3e
Commit
b48c5f3e
authored
Jul 14, 2015
by
Franjo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Getting rid of memory leaks
parent
6bb61e2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
meshLibrary/utilities/surfaceTools/edgeExtraction/edgeExtractor/edgeExtractor.C
...surfaceTools/edgeExtraction/edgeExtractor/edgeExtractor.C
+5
-0
No files found.
meshLibrary/utilities/surfaceTools/edgeExtraction/edgeExtractor/edgeExtractor.C
View file @
b48c5f3e
...
...
@@ -522,6 +522,7 @@ void edgeExtractor::findFaceCandidates
const
labelList
&
fPatches
=
*
facePatchPtr
;
bool
deleteOtherFacePatchPtr
(
false
);
if
(
!
otherFacePatchPtr
)
{
Map
<
label
>*
helperPtr
=
new
Map
<
label
>
();
...
...
@@ -529,6 +530,7 @@ void edgeExtractor::findFaceCandidates
findOtherFacePatchesParallel
(
*
helperPtr
,
facePatchPtr
);
otherFacePatchPtr
=
helperPtr
;
deleteOtherFacePatchPtr
=
true
;
}
const
Map
<
label
>&
otherFacePatch
=
*
otherFacePatchPtr
;
...
...
@@ -585,6 +587,9 @@ void edgeExtractor::findFaceCandidates
}
# endif
}
if
(
deleteOtherFacePatchPtr
)
deleteDemandDrivenData
(
otherFacePatchPtr
);
}
void
edgeExtractor
::
findOtherFacePatchesParallel
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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