Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GPIAG-Software
IFOS2D
Commits
cbe2810e
Commit
cbe2810e
authored
Dec 03, 2015
by
Florian Wittkamp
Browse files
BUGFIX: Deallocation of memory at INVMAT==10
parent
7289d11e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/denise.c
View file @
cbe2810e
...
...
@@ -4170,7 +4170,7 @@ int main(int argc, char **argv){
free_matrix
(
waveconv_rho_up
,
-
nd
+
1
,
NY
+
nd
,
-
nd
+
1
,
NX
+
nd
);
}
if
(
WAVETYPE
==
2
||
WAVETYPE
==
3
){
if
(
(
WAVETYPE
==
2
||
WAVETYPE
==
3
)
&&
(
INVMAT
==
0
))
{
free_f3tensor
(
forward_prop_rho_z
,
-
nd
+
1
,
NY
+
nd
,
-
nd
+
1
,
NX
+
nd
,
1
,
NT
/
DTINV
);
free_f3tensor
(
forward_prop_z_xz
,
-
nd
+
1
,
NY
+
nd
,
-
nd
+
1
,
NX
+
nd
,
1
,
NT
/
DTINV
);
free_f3tensor
(
forward_prop_z_yz
,
-
nd
+
1
,
NY
+
nd
,
-
nd
+
1
,
NX
+
nd
,
1
,
NT
/
DTINV
);
...
...
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