Skip to content

Commit 5aef314

Browse files
authored
Merge pull request #6351 from aravindksg/fix_btl_ofi_valgrind
btl/ofi: Fix valgrind complaints on uninitialized pointer use
2 parents 0601b3e + 786e686 commit 5aef314

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

opal/mca/btl/ofi/btl_ofi_module.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ int mca_btl_ofi_finalize (mca_btl_base_module_t* btl)
315315

316316
if (ofi_btl->rcache) {
317317
mca_rcache_base_module_destroy (ofi_btl->rcache);
318+
ofi_btl->rcache = NULL;
318319
}
319320

320321
free (btl);

0 commit comments

Comments
 (0)