pmix2x: plug a memory leak in _reg_nspace()
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
Этот коммит содержится в:
родитель
0f47310a75
Коммит
b5b21043c4
@ -1,7 +1,7 @@
|
|||||||
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
|
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2014-2017 Intel, Inc. All rights reserved.
|
* Copyright (c) 2014-2017 Intel, Inc. All rights reserved.
|
||||||
* Copyright (c) 2014-2016 Research Organization for Information Science
|
* Copyright (c) 2014-2017 Research Organization for Information Science
|
||||||
* and Technology (RIST). All rights reserved.
|
* and Technology (RIST). All rights reserved.
|
||||||
* Copyright (c) 2014-2016 Intel, Inc. All rights reserved.
|
* Copyright (c) 2014-2016 Intel, Inc. All rights reserved.
|
||||||
* Copyright (c) 2014 Mellanox Technologies, Inc.
|
* Copyright (c) 2014 Mellanox Technologies, Inc.
|
||||||
@ -242,6 +242,7 @@ static void _reg_nspace(int sd, short args, void *cbdata)
|
|||||||
pmix2x_value_load(&pmap[m].value, k2);
|
pmix2x_value_load(&pmap[m].value, k2);
|
||||||
++m;
|
++m;
|
||||||
}
|
}
|
||||||
|
OPAL_LIST_RELEASE(pmapinfo);
|
||||||
} else {
|
} else {
|
||||||
pmix2x_value_load(&pinfo[n].value, kv);
|
pmix2x_value_load(&pinfo[n].value, kv);
|
||||||
}
|
}
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user