From: Bert Wesarg <[email protected]>
Free the memory alocated by the call to asprintf.
Regards,
Bert Wesarg
---
orte/tools/orte-ps/orte-ps.c | 1 +
1 file changed, 1 insertion(+)
diff --quilt old/orte/tools/orte-ps/orte-ps.c new/orte/tools/orte-ps/orte-ps.c
--- old/orte/tools/orte-ps/orte-ps.c
+++ new/orte/tools/orte-ps/orte-ps.c
@@ -396,6 +396,7 @@ static int pretty_print(orte_ps_mpirun_i
len_hdr = strlen(header);
printf("%s\n", header);
+ free(header);
for (i=0; i < len_hdr; i++) {
printf("%c", '-');
}