X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=blobdiff_plain;f=src%2Fiostreamtop.c;fp=src%2Fiostreamtop.c;h=44fe37b89995aadc722ca5786d3f859a5830b4e8;hp=e4da1dd408e0be30c3af2c5f825cf7f27259731e;hb=e178aca12a5764ec5b6b3cd07f63bd21f40e80e7;hpb=2ee217afb4c4dc3d259bfc4ae8a4c9f613ebd545 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++; }