Add type-checked versions of allocation and deallocations functions
[lttng-tools.git] / src / bin / lttng / commands / enable_events.cpp
index 9d9a28ab86486cdd1c1bcb9b9e113094a5101f64..1d81143ae562bd6589ad09b8c1e07b0dc59b6575 100644 (file)
@@ -254,7 +254,7 @@ char *print_exclusions(const struct lttng_dynamic_pointer_array *exclusions)
        }
 
        length += sizeof(preamble);
-       ret = (char *) zmalloc(length);
+       ret = calloc<char>(length);
        if (!ret) {
                return NULL;
        }
This page took 0.023999 seconds and 4 git commands to generate.