projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lttng-{enable-event(1),event-rule(7)}: `--filter` is not always avail.
[lttng-tools.git]
/
src
/
common
/
fd-tracker
/
inode.c
diff --git
a/src/common/fd-tracker/inode.c
b/src/common/fd-tracker/inode.c
index 82799aee7e5fdcd107b89345c8c00d8e04c97f95..f105f5bd334df020e3d4800257ca3c0690f072eb 100644
(file)
--- a/
src/common/fd-tracker/inode.c
+++ b/
src/common/fd-tracker/inode.c
@@
-250,6
+250,10
@@
LTTNG_HIDDEN struct lttng_unlinked_file_pool *lttng_unlinked_file_pool_create(
{
struct lttng_unlinked_file_pool *pool = zmalloc(sizeof(*pool));
+ if (!pool) {
+ goto error;
+ }
+
if (!path || *path != '/') {
ERR("Unlinked file pool must be created with an absolute path, path = \"%s\"",
path ? path : "NULL");
This page took
0.023436 seconds
and
4
git commands to generate.