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
/
lib
/
lttng-ctl
/
lttng-ctl-health.cpp
diff --git
a/src/lib/lttng-ctl/lttng-ctl-health.cpp
b/src/lib/lttng-ctl/lttng-ctl-health.cpp
index 4821548e515c032a636b9d765f9e42429403cd33..e3234d5d4e3ef75a70761ea20420cf500f356b8a 100644
(file)
--- a/
src/lib/lttng-ctl/lttng-ctl-health.cpp
+++ b/
src/lib/lttng-ctl/lttng-ctl-health.cpp
@@
-231,7
+231,7
@@
struct lttng_health *lttng_health_create(enum health_component hc,
struct lttng_health *lh;
int i;
- lh =
(lttng_health *) zmalloc
(sizeof(*lh) + sizeof(lh->thread[0]) * nr_threads);
+ lh =
zmalloc<lttng_health>
(sizeof(*lh) + sizeof(lh->thread[0]) * nr_threads);
if (!lh) {
return NULL;
}
This page took
0.024058 seconds
and
4
git commands to generate.