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
/
bin
/
lttng-relayd
/
connection.cpp
diff --git
a/src/bin/lttng-relayd/connection.cpp
b/src/bin/lttng-relayd/connection.cpp
index c1e58aba3430f0fbbbedb89cb42261731cc94b3d..fb53862a436bde4a4c84b1cc7e6a467049efa444 100644
(file)
--- a/
src/bin/lttng-relayd/connection.cpp
+++ b/
src/bin/lttng-relayd/connection.cpp
@@
-90,7
+90,7
@@
struct relay_connection *connection_create(struct lttcomm_sock *sock,
{
struct relay_connection *conn;
- conn =
(relay_connection *) zmalloc(sizeof(*conn)
);
+ conn =
zmalloc<relay_connection>(
);
if (!conn) {
PERROR("zmalloc relay connection");
goto end;
This page took
0.023971 seconds
and
4
git commands to generate.