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-sessiond
/
save.cpp
diff --git
a/src/bin/lttng-sessiond/save.cpp
b/src/bin/lttng-sessiond/save.cpp
index 16b2705149e9fd59ce1ffedfa63ae8b32fa1922b..757b97226a1bb5be53eb2650add9f204fd13a1be 100644
(file)
--- a/
src/bin/lttng-sessiond/save.cpp
+++ b/
src/bin/lttng-sessiond/save.cpp
@@
-2322,7
+2322,7
@@
int save_consumer_output(struct config_writer *writer,
{
char *uri;
{
char *uri;
- uri =
(char *) zmalloc
(PATH_MAX);
+ uri =
calloc<char>
(PATH_MAX);
if (!uri) {
ret = LTTNG_ERR_NOMEM;
goto end;
if (!uri) {
ret = LTTNG_ERR_NOMEM;
goto end;
This page took
0.024737 seconds
and
4
git commands to generate.