Add type-checked versions of allocation and deallocations functions
[lttng-tools.git] / src / common / notification.cpp
index 248dd42e7529cf3f9ae16fdb69f0d4e2f9c013dc..77e61f21ae60c7a6168ed0feca12fabea758b943 100644 (file)
@@ -24,7 +24,7 @@ struct lttng_notification *lttng_notification_create(
                goto end;
        }
 
-       notification = (lttng_notification *) zmalloc(sizeof(struct lttng_notification));
+       notification = zmalloc<lttng_notification>();
        if (!notification) {
                goto end;
        }
This page took 0.022914 seconds and 4 git commands to generate.