1
1

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.
Этот коммит содержится в:
Andrew Friedley 2006-06-07 15:52:48 +00:00
родитель 0084c9469a
Коммит 5ace292cc1
3 изменённых файлов: 3 добавлений и 4 удалений

Просмотреть файл

@ -167,9 +167,9 @@ 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(
struct mca_mpool_base_module_t* mpool, struct mca_mpool_base_module_t* mpool,

Просмотреть файл

@ -199,9 +199,9 @@ 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);
} }
}
int mca_mpool_mvapi_find( int mca_mpool_mvapi_find(

Просмотреть файл

@ -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);
}
} }