Commit 235c3f27 authored by Antonio J. Pena's avatar Antonio J. Pena
Browse files

Fixes ticket #1899.


Signed-off-by: default avatarWesley Bland <wbland@mcs.anl.gov>
parent fde78362
......@@ -189,7 +189,8 @@ struct HYD_string_stash {
#define HYD_STRING_STASH(stash, str, status) \
do { \
if ((stash).cur_count >= (stash).max_count - 1) { \
HYDU_REALLOC((stash).strlist, char **, (stash).max_count + HYD_NUM_TMP_STRINGS, \
HYDU_REALLOC((stash).strlist, char **, \
((stash).max_count + HYD_NUM_TMP_STRINGS) * sizeof(char *), \
(status)); \
(stash).max_count += HYD_NUM_TMP_STRINGS; \
} \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment