We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5884d38 commit 6834922Copy full SHA for 6834922
opal/mca/rcache/grdma/rcache_grdma_module.c
@@ -84,6 +84,9 @@ static void mca_rcache_grdma_cache_destructor (mca_rcache_grdma_cache_t *cache)
84
{
85
OBJ_DESTRUCT(&cache->lru_list);
86
OBJ_DESTRUCT(&cache->gc_list);
87
+ if (cache->vma_module) {
88
+ OBJ_RELEASE(cache->vma_module);
89
+ }
90
91
free (cache->cache_name);
92
}
@@ -506,8 +509,6 @@ static void mca_rcache_grdma_finalize (mca_rcache_base_module_t *rcache)
506
509
OBJ_DESTRUCT(&rcache_grdma->reg_list);
507
510
OPAL_THREAD_UNLOCK(&rcache_grdma->cache->vma_module->vma_lock);
508
511
- OBJ_RELEASE(rcache_grdma->cache->vma_module);
-
512
/* this rcache was allocated by grdma_init in rcache_grdma_component.c */
513
free(rcache);
514
0 commit comments