Oops; this got missed.

Thanks for the reminder; applied in r20694.


On Mar 3, 2009, at 2:26 AM, Bert Wesarg wrote:

2009/2/19 Bert Wesarg <bert.wes...@googlemail.com>:
From: Bert Wesarg <bert.wes...@googlemail.com>

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", '-');
    }


Ping.

_______________________________________________
devel mailing list
de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/devel


--
Jeff Squyres
Cisco Systems

Reply via email to