Fix a small leak in orte/util/name_fns.c
cmr:v1.7 This commit was SVN r27576.
Этот коммит содержится в:
родитель
ae92f64842
Коммит
842caae4c7
@ -72,12 +72,13 @@ buffer_cleanup(void *value)
|
||||
{
|
||||
int i;
|
||||
orte_print_args_buffers_t *ptr;
|
||||
|
||||
|
||||
if (NULL != value) {
|
||||
ptr = (orte_print_args_buffers_t*)value;
|
||||
for (i=0; i < ORTE_PRINT_NAME_ARG_NUM_BUFS; i++) {
|
||||
free(ptr->buffers[i]);
|
||||
}
|
||||
free (ptr);
|
||||
}
|
||||
}
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user