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
/
common
/
event-expr
/
event-expr.cpp
diff --git
a/src/common/event-expr/event-expr.cpp
b/src/common/event-expr/event-expr.cpp
index 9306dbeee76571c0cb210b99f0360cf9b0f1464a..1b592bdb121cf54fbc5d8f3204e9c9be0512994a 100644
(file)
--- a/
src/common/event-expr/event-expr.cpp
+++ b/
src/common/event-expr/event-expr.cpp
@@
-40,7
+40,7
@@
struct lttng_event_expr *create_empty_expr(enum lttng_event_expr_type type,
{
struct lttng_event_expr *expr;
- expr =
(lttng_event_expr *) zmalloc
(size);
+ expr =
zmalloc<lttng_event_expr>
(size);
if (!expr) {
goto end;
}
This page took
0.03347 seconds
and
4
git commands to generate.