Add type-checked versions of allocation and deallocations functions
[lttng-tools.git] / src / common / actions / list.cpp
index c80832570d2dab694a4e77c61a33adffc84cdd26..e524399adf499b7ebf57833bf53e7183acdbcb06 100644 (file)
@@ -362,7 +362,7 @@ struct lttng_action *lttng_action_list_create(void)
        struct lttng_action_list *action_list;
        struct lttng_action *action;
 
-       action_list = (lttng_action_list *) zmalloc(sizeof(struct lttng_action_list));
+       action_list = zmalloc<lttng_action_list>();
        if (!action_list) {
                action = NULL;
                goto end;
This page took 0.022987 seconds and 4 git commands to generate.