More leak fixes.
Two leaks are fixed in this commit: - Do not leak btl component list items. - Do not leak the nodename when decoding the pidmap. cmr=v1.8.2:reviewer=rhc This commit was SVN r31779.
Этот коммит содержится в:
родитель
e4db2c3ebb
Коммит
73bfecd650
@ -1,3 +1,4 @@
|
||||
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
|
||||
/*
|
||||
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
||||
* University Research and Technology
|
||||
@ -10,8 +11,10 @@
|
||||
* Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
* All rights reserved.
|
||||
* Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved.
|
||||
* Copyright (c) 2012 Los Alamos National Security, LLC.
|
||||
* Copyright (c) 2012-2014 Los Alamos National Security, LLC.
|
||||
* All rights reserved.
|
||||
* Copyright (c) 2014 Research Organization for Information Science
|
||||
* and Technology (RIST). All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -119,6 +122,7 @@ int mca_btl_base_select(bool enable_progress_threads,
|
||||
component->btl_version.mca_component_name);
|
||||
|
||||
opal_list_remove_item(&ompi_btl_base_framework.framework_components, &cli->super);
|
||||
OBJ_RELEASE(cli);
|
||||
mca_base_component_close((mca_base_component_t *) component,
|
||||
ompi_btl_base_framework.framework_output);
|
||||
}
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
|
||||
/*
|
||||
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
||||
* University Research and Technology
|
||||
@ -9,7 +10,7 @@
|
||||
* University of Stuttgart. All rights reserved.
|
||||
* Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
* All rights reserved.
|
||||
* Copyright (c) 2012-2013 Los Alamos National Security, LLC.
|
||||
* Copyright (c) 2012-2014 Los Alamos National Security, LLC.
|
||||
* All rights reserved.
|
||||
* Copyright (c) 2013-2014 Intel, Inc. All rights reserved
|
||||
*
|
||||
@ -615,6 +616,7 @@ int orte_util_decode_nodemap(opal_byte_object_t *bo)
|
||||
}
|
||||
OBJ_DESTRUCT(&kv);
|
||||
}
|
||||
free (nodename);
|
||||
}
|
||||
if (ORTE_ERR_UNPACK_READ_PAST_END_OF_BUFFER != rc) {
|
||||
ORTE_ERROR_LOG(rc);
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user