projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: release reference to new chunk on copy error
[lttng-tools.git]
/
src
/
common
/
trace-chunk.c
diff --git
a/src/common/trace-chunk.c
b/src/common/trace-chunk.c
index 6770bd982db393a45bdfda698614a1af2b4a6b54..601d402e0843639ac9457269b4916d2ace8dce29 100644
(file)
--- a/
src/common/trace-chunk.c
+++ b/
src/common/trace-chunk.c
@@
-367,6
+367,7
@@
end:
return new_chunk;
error_unlock:
pthread_mutex_unlock(&source_chunk->lock);
+ lttng_trace_chunk_put(new_chunk);
return NULL;
}
This page took
0.023916 seconds
and
4
git commands to generate.