Add type-checked versions of allocation and deallocations functions
[lttng-tools.git] / src / bin / lttng-sessiond / notify-apps.cpp
index 8e238e5c15ba4a68a471979fead43753061954b5..80c7fb143f06d0e88768428cd392ad4c602122d6 100644 (file)
@@ -212,7 +212,7 @@ bool launch_application_notification_thread(int apps_cmd_notify_pipe_read_fd)
        struct thread_notifiers *notifiers;
        struct lttng_pipe *quit_pipe;
 
        struct thread_notifiers *notifiers;
        struct lttng_pipe *quit_pipe;
 
-       notifiers = (thread_notifiers *) zmalloc(sizeof(*notifiers));
+       notifiers = zmalloc<thread_notifiers>();
        if (!notifiers) {
                goto error_alloc;
        }
        if (!notifiers) {
                goto error_alloc;
        }
This page took 0.023499 seconds and 4 git commands to generate.