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
/
pipe.cpp
diff --git
a/src/common/pipe.cpp
b/src/common/pipe.cpp
index c2dce78816f0fad0e41a935d49371b20f5bbcd0d..8bf0c1ff33341e54728d3b0b196f62752fc536c6 100644
(file)
--- a/
src/common/pipe.cpp
+++ b/
src/common/pipe.cpp
@@
-108,7
+108,7
@@
static struct lttng_pipe *_pipe_create(void)
int ret;
struct lttng_pipe *p;
- p =
(lttng_pipe *) zmalloc(sizeof(*p)
);
+ p =
zmalloc<lttng_pipe>(
);
if (!p) {
PERROR("zmalloc pipe create");
goto end;
This page took
0.03599 seconds
and
4
git commands to generate.