Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Backofen, Rainer
amdis
Commits
343645d0
Commit
343645d0
authored
Jan 11, 2018
by
Praetorius, Simon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Memory leak in SystemVector corrected
parent
9118b8a6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
AMDiS/src/Mesh.h
AMDiS/src/Mesh.h
+1
-0
AMDiS/src/SystemVector.h
AMDiS/src/SystemVector.h
+2
-1
No files found.
AMDiS/src/Mesh.h
View file @
343645d0
...
...
@@ -911,6 +911,7 @@ namespace AMDiS {
friend
struct
io
::
MacroWriter
;
friend
class
MacroElement
;
friend
class
Element
;
friend
class
MeshRestriction
;
};
}
...
...
AMDiS/src/SystemVector.h
View file @
343645d0
...
...
@@ -55,7 +55,8 @@ namespace AMDiS {
SystemVector
(
const
SystemVector
&
rhs
)
:
name
(
rhs
.
getName
()),
componentSpaces
(
rhs
.
getFeSpaces
()),
vectors
(
rhs
.
getNumVectors
())
vectors
(
rhs
.
getNumVectors
()),
createVec
(
true
)
{
for
(
unsigned
int
i
=
0
;
i
<
vectors
.
size
();
i
++
)
vectors
[
i
]
=
new
DOFVector
<
double
>
(
*
rhs
.
getDOFVector
(
i
));
...
...
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