projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
.clang-format: tweak C++ style
[lttng-tools.git]
/
src
/
common
/
fd-handle.cpp
diff --git
a/src/common/fd-handle.cpp
b/src/common/fd-handle.cpp
index 7473f071789982ca1c169812ef6d109430269269..579757782702f175315254b3003b001e1355bbae 100644
(file)
--- a/
src/common/fd-handle.cpp
+++ b/
src/common/fd-handle.cpp
@@
-41,7
+41,7
@@
struct fd_handle *fd_handle_create(int fd)
goto end;
}
- handle =
(fd_handle *) zmalloc(sizeof(*handle)
);
+ handle =
zmalloc<fd_handle>(
);
if (!handle) {
PERROR("Failed to allocate fd_handle");
goto end;
This page took
0.02388 seconds
and
4
git commands to generate.