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
libcdi
Commits
75d4f016
Commit
75d4f016
authored
Dec 02, 2014
by
Thomas Jahns
🤸
Browse files
Use fail-safe allocation wrapper.
parent
b5d252af
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_cgribex.c
View file @
75d4f016
...
...
@@ -883,7 +883,7 @@ int cgribexScanTimestep2(stream_t * streamptr)
if
(
(
size_t
)
recsize
>
buffersize
)
{
buffersize
=
(
size_t
)
recsize
;
gribbuffer
=
(
unsigned
char
*
)
realloc
(
gribbuffer
,
buffersize
);
gribbuffer
=
(
unsigned
char
*
)
x
realloc
(
gribbuffer
,
buffersize
);
}
readsize
=
(
size_t
)
recsize
;
...
...
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