Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
iwr
amdis
Commits
343645d0
Commit
343645d0
authored
Jan 11, 2018
by
Praetorius, Simon
Browse files
Memory leak in SystemVector corrected
parent
9118b8a6
Changes
2
Show whitespace changes
Inline
Side-by-side
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
Supports
Markdown
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