summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
606846b)
The reference to a trace chunk that is acquired in
_lttng_index_file_create_from_trace_chunk() is leaked on error.
Release the reference in the function's error path.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
PERROR("Failed to close file descriptor of index file");
}
}
PERROR("Failed to close file descriptor of index file");
}
}
+ lttng_trace_chunk_put(chunk);
free(index_file);
return NULL;
}
free(index_file);
return NULL;
}