Add type-checked versions of allocation and deallocations functions
[lttng-tools.git] / src / bin / lttng-relayd / backward-compatibility-group-by.cpp
index e1d289d98748090e9fada15a72c8536d52b675f6..78f8a1971a190814919007e98f59ab33b6bb8ba9 100644 (file)
@@ -172,7 +172,7 @@ char *backward_compat_group_by_session(const char *path,
                                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;
This page took 0.02268 seconds and 4 git commands to generate.