mpool/rdma: fix memory leak at module finalize
Reviewed-by: Jeff Squyres <jsquyres@cisco.com> This commit was SVN r29487.
Этот коммит содержится в:
родитель
647e5a6fd2
Коммит
e9dbb66e58
@ -483,6 +483,9 @@ void mca_mpool_grdma_finalize(struct mca_mpool_base_module_t *mpool)
|
|||||||
|
|
||||||
/* Cleanup any vmas that we have deferred deletion on */
|
/* Cleanup any vmas that we have deferred deletion on */
|
||||||
mpool->rcache->rcache_clean(mpool->rcache);
|
mpool->rcache->rcache_clean(mpool->rcache);
|
||||||
|
|
||||||
|
/* this mpool was allocated by grdma_init in mpool_grdma_component.c */
|
||||||
|
free(mpool);
|
||||||
}
|
}
|
||||||
|
|
||||||
int mca_mpool_grdma_ft_event(int state) {
|
int mca_mpool_grdma_ft_event(int state) {
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user