Should fix ticket #81 - which is specific to MVAPI, I've included the same fix for gm/openib as well.
uDAPL has the same problem, will fix in separate commit so it doesn't go to branch. This commit was SVN r10243.
Этот коммит содержится в:
родитель
0084c9469a
Коммит
5ace292cc1
@ -167,8 +167,8 @@ void mca_mpool_gm_free(mca_mpool_base_module_t* mpool, void * addr,
|
|||||||
{
|
{
|
||||||
if(registration){
|
if(registration){
|
||||||
mpool->mpool_deregister(mpool, registration);
|
mpool->mpool_deregister(mpool, registration);
|
||||||
|
free(addr);
|
||||||
}
|
}
|
||||||
free(addr);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int mca_mpool_gm_find(
|
int mca_mpool_gm_find(
|
||||||
|
@ -199,8 +199,8 @@ void mca_mpool_mvapi_free(mca_mpool_base_module_t* mpool, void * addr,
|
|||||||
{
|
{
|
||||||
if(registration){
|
if(registration){
|
||||||
mpool->mpool_deregister(mpool, registration);
|
mpool->mpool_deregister(mpool, registration);
|
||||||
|
free(registration->alloc_base);
|
||||||
}
|
}
|
||||||
free(registration->alloc_base);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -182,9 +182,8 @@ void mca_mpool_openib_free(mca_mpool_base_module_t* mpool, void * addr,
|
|||||||
{
|
{
|
||||||
if(registration){
|
if(registration){
|
||||||
mpool->mpool_deregister(mpool, registration);
|
mpool->mpool_deregister(mpool, registration);
|
||||||
|
free(registration->alloc_base);
|
||||||
}
|
}
|
||||||
free(registration->alloc_base);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user