From: Julien Desfossez Date: Mon, 1 Jun 2015 15:39:03 +0000 (-0400) Subject: fix: filename history needs a rework in the next release X-Git-Tag: v0.3~10 X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=commitdiff_plain;h=e178aca12a5764ec5b6b3cd07f63bd21f40e80e7 fix: filename history needs a rework in the next release Signed-off-by: Julien Desfossez --- diff --git a/src/iostreamtop.c b/src/iostreamtop.c index e4da1dd..44fe37b 100644 --- a/src/iostreamtop.c +++ b/src/iostreamtop.c @@ -140,10 +140,12 @@ void close_file(struct processtop *proc, int fd) if (file != NULL) { file->flag = __NR_close; lttngtop.nbfiles--; + /* if (file->name) { free(file->name); file->name = NULL; } + */ } lttngtop.nbclosedfiles++; }