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
/
lib
/
lttng-ctl
/
clear.cpp
diff --git
a/src/lib/lttng-ctl/clear.cpp
b/src/lib/lttng-ctl/clear.cpp
index 114758b0c8f3a38296600e9bba47d28929ccc0f2..b7a312be583e6750df64d2872f379c4fce4cfd52 100644
(file)
--- a/
src/lib/lttng-ctl/clear.cpp
+++ b/
src/lib/lttng-ctl/clear.cpp
@@
-64,7
+64,7
@@
static
struct lttng_clear_handle *lttng_clear_handle_create(int sessiond_socket)
{
int ret;
struct lttng_clear_handle *lttng_clear_handle_create(int sessiond_socket)
{
int ret;
- struct lttng_clear_handle *handle =
(lttng_clear_handle *) zmalloc(sizeof(*handle)
);
+ struct lttng_clear_handle *handle =
zmalloc<lttng_clear_handle>(
);
if (!handle) {
goto end;
if (!handle) {
goto end;
This page took
0.024678 seconds
and
4
git commands to generate.