Add type-checked versions of allocation and deallocations functions
[lttng-tools.git] / src / common / actions / notify.cpp
index 8ee51c31617a6370b776a5415230056bfa9f2901..ff117321e0b73d7e0e0b7e30fc6b865cd7085660 100644 (file)
@@ -132,7 +132,7 @@ struct lttng_action *lttng_action_notify_create(void)
        struct lttng_action_notify *notify = NULL;
        struct lttng_action *action = NULL;
 
-       notify = (lttng_action_notify *) zmalloc(sizeof(struct lttng_action_notify));
+       notify = zmalloc<lttng_action_notify>();
        if (!notify) {
                goto end;
        }
This page took 0.02293 seconds and 4 git commands to generate.