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
/
actions
/
notify.cpp
diff --git
a/src/common/actions/notify.cpp
b/src/common/actions/notify.cpp
index 8ee51c31617a6370b776a5415230056bfa9f2901..ff117321e0b73d7e0e0b7e30fc6b865cd7085660 100644
(file)
--- a/
src/common/actions/notify.cpp
+++ b/
src/common/actions/notify.cpp
@@
-132,7
+132,7
@@
struct lttng_action *lttng_action_notify_create(void)
struct lttng_action_notify *notify = NULL;
struct lttng_action *action = NULL;
struct lttng_action_notify *notify = NULL;
struct lttng_action *action = NULL;
- notify =
(lttng_action_notify *) zmalloc(sizeof(struct lttng_action_notify)
);
+ notify =
zmalloc<lttng_action_notify>(
);
if (!notify) {
goto end;
}
if (!notify) {
goto end;
}
This page took
0.023067 seconds
and
4
git commands to generate.