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
/
backward-compatibility-group-by.cpp
diff --git
a/src/bin/lttng-relayd/backward-compatibility-group-by.cpp
b/src/bin/lttng-relayd/backward-compatibility-group-by.cpp
index e1d289d98748090e9fada15a72c8536d52b675f6..78f8a1971a190814919007e98f59ab33b6bb8ba9 100644
(file)
--- a/
src/bin/lttng-relayd/backward-compatibility-group-by.cpp
+++ b/
src/bin/lttng-relayd/backward-compatibility-group-by.cpp
@@
-172,7
+172,7
@@
char *backward_compat_group_by_session(const char *path,
goto error_regex;
}
} else {
goto error_regex;
}
} else {
- datetime =
(char *) zmalloc
(DATETIME_STR_LEN);
+ datetime =
calloc<char>
(DATETIME_STR_LEN);
if (!datetime) {
PERROR("Failed to allocate DATETIME string");
goto error;
if (!datetime) {
PERROR("Failed to allocate DATETIME string");
goto error;
This page took
0.034049 seconds
and
4
git commands to generate.