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
/
agent-thread.cpp
diff --git
a/src/bin/lttng-sessiond/agent-thread.cpp
b/src/bin/lttng-sessiond/agent-thread.cpp
index 77470b3ee1a25446a9a8f23e2be3c9f4f4a7e134..704f21d65b4add91b1e885269271228ab1759a71 100644
(file)
--- a/
src/bin/lttng-sessiond/agent-thread.cpp
+++ b/
src/bin/lttng-sessiond/agent-thread.cpp
@@
-570,7
+570,7
@@
bool launch_agent_management_thread(void)
struct thread_notifiers *notifiers;
struct lttng_thread *thread;
- notifiers =
(thread_notifiers *) zmalloc(sizeof(*notifiers)
);
+ notifiers =
zmalloc<thread_notifiers>(
);
if (!notifiers) {
goto error_alloc;
}
This page took
0.024192 seconds
and
4
git commands to generate.