Add type-checked versions of allocation and deallocations functions
[lttng-tools.git] / src / bin / lttng-sessiond / health.cpp
index a7f4bdcbb534dc82ae6b6cebaae876043a8f71f5..9a4dee8610b0deeb6b4c3527bc5da84b6ee140c5 100644 (file)
@@ -255,7 +255,7 @@ bool launch_health_management_thread(void)
        struct thread_notifiers *notifiers;
        struct lttng_thread *thread;
 
-       notifiers = (thread_notifiers *) zmalloc(sizeof(*notifiers));
+       notifiers = zmalloc<thread_notifiers>();
        if (!notifiers) {
                goto error_alloc;
        }
This page took 0.022703 seconds and 4 git commands to generate.