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
/
manage-kernel.cpp
diff --git
a/src/bin/lttng-sessiond/manage-kernel.cpp
b/src/bin/lttng-sessiond/manage-kernel.cpp
index a5d21b0fe52ac10267b154671f55a8eadd4836d5..a6393b6c0832bce45c903446c8de28df4cb4f1b9 100644
(file)
--- a/
src/bin/lttng-sessiond/manage-kernel.cpp
+++ b/
src/bin/lttng-sessiond/manage-kernel.cpp
@@
-332,7
+332,7
@@
bool launch_kernel_management_thread(int kernel_poll_pipe_read_fd)
struct thread_notifiers *notifiers = NULL;
struct lttng_thread *thread;
- notifiers =
(thread_notifiers *) zmalloc(sizeof(*notifiers)
);
+ notifiers =
zmalloc<thread_notifiers>(
);
if (!notifiers) {
goto error_alloc;
}
This page took
0.024496 seconds
and
4
git commands to generate.