1
1

btl/base: fix misc memory leaks

as reported by Coverity as CIDs 71818 71819
Этот коммит содержится в:
Gilles Gouaillardet 2015-02-27 19:06:06 +09:00
родитель 71ac1331f1
Коммит 60404d1953

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

@ -13,9 +13,9 @@
* Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved.
* Copyright (c) 2012-2014 Los Alamos National Security, LLC.
* All rights reserved.
* Copyright (c) 2014 Research Organization for Information Science
* Copyright (c) 2014-2015 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* Copyright (c) 2014 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2014 Cisco Systems, Inc. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -152,6 +152,13 @@ int mca_btl_base_select(bool enable_progress_threads,
}
}
if (NULL != include) {
opal_argv_free(include);
}
if (NULL != exclude) {
opal_argv_free(exclude);
}
/* Finished querying all components. Check for the bozo case. */
if (0 == opal_list_get_size(&mca_btl_base_modules_initialized)) {