X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fcommon%2Findex%2Findex.c;h=b2e36211aa4f8a7f5ce9d2be2784d91e3954310f;hb=d84264ba890cd6ada5cda80f009c00845921ce65;hp=7c73dcfbd9e597def9249377348a462e6a86bd75;hpb=0ee403c18b64971e546f9c69f713c8ef78ab4f26;p=lttng-tools.git diff --git a/src/common/index/index.c b/src/common/index/index.c index 7c73dcfbd..b2e36211a 100644 --- a/src/common/index/index.c +++ b/src/common/index/index.c @@ -151,6 +151,7 @@ error: PERROR("Failed to close file descriptor of index file"); } } + lttng_trace_chunk_put(chunk); free(index_file); return NULL; }