projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: return NULL pointer on memory allocation failure
[lttng-tools.git]
/
src
/
common
/
buffer-usage.c
diff --git
a/src/common/buffer-usage.c
b/src/common/buffer-usage.c
index 49696a33f8e7883e9688df10807bada844778568..dfe0d85a169b70b9c7589511219bbb9e55c2a81c 100644
(file)
--- a/
src/common/buffer-usage.c
+++ b/
src/common/buffer-usage.c
@@
-231,7
+231,7
@@
struct lttng_condition *lttng_condition_buffer_usage_create(
condition = zmalloc(sizeof(struct lttng_condition_buffer_usage));
if (!condition) {
-
goto end
;
+
return NULL
;
}
lttng_condition_init(&condition->parent, type);
This page took
0.025143 seconds
and
4
git commands to generate.