projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clang-tidy: add Chrome-inspired checks
[lttng-tools.git]
/
src
/
bin
/
lttng-relayd
/
tracefile-array.cpp
diff --git
a/src/bin/lttng-relayd/tracefile-array.cpp
b/src/bin/lttng-relayd/tracefile-array.cpp
index 07d5ee17f2f2c7a3f97eba57b4bfa76171569e45..b59e2aea17c8e493827cdf40cb1ffa9ffb28e09c 100644
(file)
--- a/
src/bin/lttng-relayd/tracefile-array.cpp
+++ b/
src/bin/lttng-relayd/tracefile-array.cpp
@@
-14,7
+14,7
@@
struct tracefile_array *tracefile_array_create(size_t count)
{
struct tracefile_array *tracefile_array_create(size_t count)
{
- struct tracefile_array *tfa =
NULL
;
+ struct tracefile_array *tfa =
nullptr
;
int i;
tfa = zmalloc<tracefile_array>();
int i;
tfa = zmalloc<tracefile_array>();
@@
-39,7
+39,7
@@
error:
free(tfa->tf);
}
free(tfa);
free(tfa->tf);
}
free(tfa);
- return
NULL
;
+ return
nullptr
;
}
void tracefile_array_destroy(struct tracefile_array *tfa)
}
void tracefile_array_destroy(struct tracefile_array *tfa)
This page took
0.022918 seconds
and
4
git commands to generate.