Add type-checked versions of allocation and deallocations functions
[lttng-tools.git] / src / bin / lttng-sessiond / save.cpp
index 16b2705149e9fd59ce1ffedfa63ae8b32fa1922b..757b97226a1bb5be53eb2650add9f204fd13a1be 100644 (file)
@@ -2322,7 +2322,7 @@ int save_consumer_output(struct config_writer *writer,
        {
                char *uri;
 
-               uri = (char *) zmalloc(PATH_MAX);
+               uri = calloc<char>(PATH_MAX);
                if (!uri) {
                        ret = LTTNG_ERR_NOMEM;
                        goto end;
This page took 0.022632 seconds and 4 git commands to generate.