Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
librdmacm
librdmacm-cma.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File librdmacm-cma.patch of Package librdmacm
--- src/cma.c +++ src/cma.c @@ -29,7 +29,7 @@ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. * - * $Id: cm.c 3453 2005-09-15 21:43:21Z sean.hefty $ + * $Id: cma.c,v 1.1 2008/10/15 15:47:03 jjolly Exp jjolly $ */ #if HAVE_CONFIG_H @@ -161,8 +161,10 @@ static void ucma_cleanup(void) { if (cma_dev_cnt) { - while (cma_dev_cnt) - ibv_close_device(cma_dev_array[--cma_dev_cnt].verbs); + while (cma_dev_cnt) { + if (cma_dev_array[--cma_dev_cnt].verbs) + ibv_close_device(cma_dev_array[cma_dev_cnt].verbs); + } free(cma_dev_array); cma_dev_cnt = 0;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor