Commit 7841bb2
[mpich romio 313289a] romio gpfs: avoid freeing NULL
> Pulled in from mpich romio, branch "main".
> Their commit message is below.
>
> This is part of a batch of commits from the
> following set of PRs:
> * pmodels/mpich#4943
> -- darray fix which contains a flatten fix
> 73a3eba
> c4b5762
> * pmodels/mpich#4995
> -- write strided fix
> bbb5210
> * pmodels/mpich#5100
> -- build fix for -Wpedantic
> ad0e435
> * pmodels/mpich#5099
> -- build fix, they had let file-system=...gpfs bit rot
> e1d42af
> 313289a
> 83bbb82
> * pmodels/mpich#5150
> -- build fix, configure-related _GNU_SOURCE
> a712b56
> 5a036e7
> * pmodels/mpich#5184
> -- build fix, continuation of _GNU_SOURCE fix
> d97c4ee
Configuring mpich with --with-file-system=nfs+ufs+gpfs it wouldn't
run because there are a couple free() calls that reported null
pointers, so I changed a couple places to "if (x) { ADIOI_Free(x); }"
Signed-off-by: Mark Allen <markalle@us.ibm.com>1 parent c2abd57 commit 7841bb2
File tree
2 files changed
+12
-4
lines changed- 3rd-party/romio341/adio/ad_gpfs
2 files changed
+12
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
425 | 425 | | |
426 | 426 | | |
427 | 427 | | |
428 | | - | |
429 | | - | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
430 | 434 | | |
431 | 435 | | |
432 | 436 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
450 | | - | |
451 | | - | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
452 | 456 | | |
453 | 457 | | |
454 | 458 | | |
| |||
0 commit comments