Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
cdo
Commits
dc76f561
Commit
dc76f561
authored
May 28, 2015
by
Uwe Schulzweida
Browse files
Remap: fixed memory leak for r=max_remaps-1
parent
0bf44a1c
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
dc76f561
...
...
@@ -3,6 +3,10 @@
* using CDI library version 1.7.0
* Version 1.7.0 released
2015-05-28 Uwe Schulzweida
* Remap: fixed memory leak for r=max_remaps-1
2015-05-26 Uwe Schulzweida
* New operator: vertstd1 - Vertical standard deviation [Divisor is (n-1)]
...
...
src/Remap.c
View file @
dc76f561
...
...
@@ -1008,6 +1008,12 @@ void *Remap(void *argument)
else
{
r
=
nremaps
-
1
;
remapVarsFree
(
&
remaps
[
r
].
vars
);
remapGridFree
(
&
remaps
[
r
].
src_grid
);
remapGridFree
(
&
remaps
[
r
].
tgt_grid
);
remaps
[
r
].
gridID
=
-
1
;
remaps
[
r
].
gridsize
=
0
;
remaps
[
r
].
nmiss
=
0
;
}
if
(
remaps
[
r
].
gridID
!=
gridID1
)
...
...
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