X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/00c0af024790b2d3b5b3de59dba99a3fdefba265..3429978465882f1a8d4911725dd65019e36eefed:/src/xbt/ex.c diff --git a/src/xbt/ex.c b/src/xbt/ex.c index 7e6e63fb65..d579bce637 100644 --- a/src/xbt/ex.c +++ b/src/xbt/ex.c @@ -173,6 +173,7 @@ void xbt_ex_setup_backtrace(xbt_ex_t *e) { fgets(line_pos,1024,subpipe); line_pos[strlen(line_pos)-1]='\0'; pclose(subpipe); + free(subcmd); /* check whether the trick worked */ if (strcmp("??",line_func)) {