Add type-checked versions of allocation and deallocations functions
[lttng-tools.git] / src / common / actions / path.cpp
index 0c8181896dfc612614baebf3775d5a37c250c2e7..cbb7519b13f5a21d907f993755785b6d6dfeaa4f 100644 (file)
@@ -23,7 +23,7 @@ struct lttng_action_path *lttng_action_path_create(
                goto error;
        }
 
-       path = (lttng_action_path *) zmalloc(sizeof(*path));
+       path = zmalloc<lttng_action_path>();
        if (!path) {
                goto error;
        }
This page took 0.022892 seconds and 4 git commands to generate.