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
/
path.cpp
diff --git
a/src/common/actions/path.cpp
b/src/common/actions/path.cpp
index 0c8181896dfc612614baebf3775d5a37c250c2e7..cbb7519b13f5a21d907f993755785b6d6dfeaa4f 100644
(file)
--- a/
src/common/actions/path.cpp
+++ b/
src/common/actions/path.cpp
@@
-23,7
+23,7
@@
struct lttng_action_path *lttng_action_path_create(
goto error;
}
- path =
(lttng_action_path *) zmalloc(sizeof(*path)
);
+ path =
zmalloc<lttng_action_path>(
);
if (!path) {
goto error;
}
This page took
0.027288 seconds
and
4
git commands to generate.