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
/
viewer-session.cpp
diff --git
a/src/bin/lttng-relayd/viewer-session.cpp
b/src/bin/lttng-relayd/viewer-session.cpp
index 4529a21fa7c9342f9aa30749dce2dcfd226dcdc0..194073f598783e011cf8b852515e34dba05950a3 100644
(file)
--- a/
src/bin/lttng-relayd/viewer-session.cpp
+++ b/
src/bin/lttng-relayd/viewer-session.cpp
@@
-22,7
+22,7
@@
struct relay_viewer_session *viewer_session_create(void)
{
struct relay_viewer_session *vsession;
- vsession =
(relay_viewer_session *) zmalloc(sizeof(*vsession)
);
+ vsession =
zmalloc<relay_viewer_session>(
);
if (!vsession) {
goto end;
}
This page took
0.025523 seconds
and
4
git commands to generate.