opal/util: plug a memory leak in the opal_infosubscriber_t destructor
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp> (cherry picked from commit open-mpi/ompi@7556dd0abb)
Этот коммит содержится в:
родитель
c767c63a3b
Коммит
9410de0d27
@ -14,7 +14,7 @@
|
||||
* Copyright (c) 2009 Sun Microsystems, Inc. All rights reserved.
|
||||
* Copyright (c) 2012-2017 Los Alamos National Security, LLC. All rights
|
||||
* reserved.
|
||||
* Copyright (c) 2015 Research Organization for Information Science
|
||||
* Copyright (c) 2015-2018 Research Organization for Information Science
|
||||
* and Technology (RIST). All rights reserved.
|
||||
* Copyright (c) 2016-2018 IBM Corporation. All rights reserved.
|
||||
* Copyright (c) 2017-2018 Intel, Inc. All rights reserved.
|
||||
@ -97,6 +97,10 @@ static void infosubscriber_destruct(opal_infosubscriber_t *obj) {
|
||||
}
|
||||
|
||||
OBJ_DESTRUCT(&obj->s_subscriber_table);
|
||||
|
||||
if (NULL != obj->s_info) {
|
||||
OBJ_RELEASE(obj->s_info);
|
||||
}
|
||||
}
|
||||
|
||||
static void opal_callback_list_item_destruct(opal_callback_list_item_t *obj) {
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user