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-rule
/
kernel-syscall.cpp
diff --git
a/src/common/event-rule/kernel-syscall.cpp
b/src/common/event-rule/kernel-syscall.cpp
index 815f99d9df0434a3dfac3f9ec96160c342116c32..d006eaa054960b29eeb59edf0e342cc60ba19459 100644
(file)
--- a/
src/common/event-rule/kernel-syscall.cpp
+++ b/
src/common/event-rule/kernel-syscall.cpp
@@
-356,7
+356,7
@@
struct lttng_event_rule *lttng_event_rule_kernel_syscall_create(
goto end;
}
- syscall_rule =
(lttng_event_rule_kernel_syscall *) zmalloc(sizeof(struct lttng_event_rule_kernel_syscall)
);
+ syscall_rule =
zmalloc<lttng_event_rule_kernel_syscall>(
);
if (!syscall_rule) {
goto end;
}
This page took
0.02361 seconds
and
4
git commands to generate.