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-uprobe.cpp
diff --git
a/src/common/event-rule/kernel-uprobe.cpp
b/src/common/event-rule/kernel-uprobe.cpp
index 1a42421d39c2f405632083c244752b5435e53d90..4e611aca231d7373425205382ee1076d662afa4a 100644
(file)
--- a/
src/common/event-rule/kernel-uprobe.cpp
+++ b/
src/common/event-rule/kernel-uprobe.cpp
@@
-279,7
+279,7
@@
struct lttng_event_rule *lttng_event_rule_kernel_uprobe_create(
struct lttng_event_rule *rule = NULL;
struct lttng_event_rule_kernel_uprobe *urule;
struct lttng_event_rule *rule = NULL;
struct lttng_event_rule_kernel_uprobe *urule;
- urule =
(lttng_event_rule_kernel_uprobe *) zmalloc(sizeof(struct lttng_event_rule_kernel_uprobe)
);
+ urule =
zmalloc<lttng_event_rule_kernel_uprobe>(
);
if (!urule) {
goto end;
}
if (!urule) {
goto end;
}
This page took
0.023554 seconds
and
4
git commands to generate.