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
/
commands
/
enable_events.cpp
diff --git
a/src/bin/lttng/commands/enable_events.cpp
b/src/bin/lttng/commands/enable_events.cpp
index 9d9a28ab86486cdd1c1bcb9b9e113094a5101f64..1d81143ae562bd6589ad09b8c1e07b0dc59b6575 100644
(file)
--- a/
src/bin/lttng/commands/enable_events.cpp
+++ b/
src/bin/lttng/commands/enable_events.cpp
@@
-254,7
+254,7
@@
char *print_exclusions(const struct lttng_dynamic_pointer_array *exclusions)
}
length += sizeof(preamble);
}
length += sizeof(preamble);
- ret =
(char *) zmalloc
(length);
+ ret =
calloc<char>
(length);
if (!ret) {
return NULL;
}
if (!ret) {
return NULL;
}
This page took
0.023838 seconds
and
4
git commands to generate.