projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add type-checked versions of allocation and deallocations functions
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
health.cpp
diff --git
a/src/bin/lttng-sessiond/health.cpp
b/src/bin/lttng-sessiond/health.cpp
index a7f4bdcbb534dc82ae6b6cebaae876043a8f71f5..9a4dee8610b0deeb6b4c3527bc5da84b6ee140c5 100644
(file)
--- a/
src/bin/lttng-sessiond/health.cpp
+++ b/
src/bin/lttng-sessiond/health.cpp
@@
-255,7
+255,7
@@
bool launch_health_management_thread(void)
struct thread_notifiers *notifiers;
struct lttng_thread *thread;
struct thread_notifiers *notifiers;
struct lttng_thread *thread;
- notifiers =
(thread_notifiers *) zmalloc(sizeof(*notifiers)
);
+ notifiers =
zmalloc<thread_notifiers>(
);
if (!notifiers) {
goto error_alloc;
}
if (!notifiers) {
goto error_alloc;
}
This page took
0.024663 seconds
and
4
git commands to generate.