[mpich] MPICH primary repository branch, master, updated. v3.0.4-432-ge259dcd
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "MPICH primary repository". The branch, master has been updated via e259dcd97ede800b086c96d76f5213fe973ecd2a (commit) from b3049e5a2b300c105bb1970699b74a3826c48e2a (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://git.mpich.org/mpich.git/commitdiff/e259dcd97ede800b086c96d76f5213fe97... commit e259dcd97ede800b086c96d76f5213fe973ecd2a Author: Pavan Balaji <[email protected]> Date: Thu Aug 1 21:12:13 2013 -0500 Check for a NULL string before freeing. Fixes ticket #1862. Signed-off-by: Antonio J. Pena <[email protected]> diff --git a/src/pm/hydra/include/hydra.h b/src/pm/hydra/include/hydra.h index 5e4a51c..c7cc78f 100644 --- a/src/pm/hydra/include/hydra.h +++ b/src/pm/hydra/include/hydra.h @@ -214,6 +214,8 @@ struct HYD_string_stash { #define HYD_STRING_STASH_FREE(stash) \ do { \ + if ((stash).strlist == NULL) \ + break; \ HYDU_free_strlist((stash).strlist); \ HYDU_FREE((stash).strlist); \ (stash).max_count = 0; \ ----------------------------------------------------------------------- Summary of changes: src/pm/hydra/include/hydra.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) hooks/post-receive -- MPICH primary repository
participants (1)
-
noreply@mpich.org