Skip to content

Commit 7c2e63c

Browse files
committed
fix a memleak, close the patcher component;
Signed-off-by: wjjahah <2457791952@qq.com>
1 parent d9cccba commit 7c2e63c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opal/mca/patcher/base/patcher_base_frame.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ static int opal_patcher_base_close(void)
9090
return opal_patcher->patch_fini();
9191
}
9292

93-
return OPAL_SUCCESS;
93+
return mca_base_framework_components_close(&opal_patcher_base_framework, NULL);
9494
}
9595

9696
/* Use default register/open functions */

0 commit comments

Comments
 (0)