projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: perf counters context: error handling on type allocation
[lttng-ust.git]
/
liblttng-ust
/
lttng-context-perf-counters.c
diff --git
a/liblttng-ust/lttng-context-perf-counters.c
b/liblttng-ust/lttng-context-perf-counters.c
index 53ff3cbc10235ff2b6e992119861792ed0733499..f8241c392872ff53230c55b7201589794a8c323b 100644
(file)
--- a/
liblttng-ust/lttng-context-perf-counters.c
+++ b/
liblttng-ust/lttng-context-perf-counters.c
@@
-548,7
+548,7
@@
int lttng_add_perf_counter_to_ctx(uint32_t type,
lttng_alignof(uint64_t) * CHAR_BIT,
lttng_is_signed_type(uint64_t),
BYTE_ORDER, 10);
- if (!type) {
+ if (!
ust_
type) {
ret = -ENOMEM;
goto type_alloc_error;
}
This page took
0.023944 seconds
and
4
git commands to generate.