Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
IFOS2D
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Environments
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
GPIAG-Software
IFOS2D
Commits
cbe2810e
Commit
cbe2810e
authored
Dec 03, 2015
by
Florian Wittkamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUGFIX: Deallocation of memory at INVMAT==10
parent
7289d11e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/denise.c
src/denise.c
+1
-1
No files found.
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
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