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
/
clear.cpp
diff --git
a/src/bin/lttng-sessiond/clear.cpp
b/src/bin/lttng-sessiond/clear.cpp
index fcac76ffa4c349a7e97ce521b2d9cc8c06539413..04f2a368e44252152dba51c3ed868227e38df9cf 100644
(file)
--- a/
src/bin/lttng-sessiond/clear.cpp
+++ b/
src/bin/lttng-sessiond/clear.cpp
@@
-67,7
+67,7
@@
int cmd_clear_session(struct ltt_session *session, int *sock_fd)
usess = session->ust_session;
if (sock_fd) {
- reply_context =
(cmd_clear_session_reply_context *) zmalloc(sizeof(*reply_context)
);
+ reply_context =
zmalloc<cmd_clear_session_reply_context>(
);
if (!reply_context) {
ret = LTTNG_ERR_NOMEM;
goto end;
This page took
0.02527 seconds
and
4
git commands to generate.