Fix: sanitize wait queue in the dispatch thread
[lttng-tools.git] / src / bin / lttng-sessiond / ust-app.c
index 37f6442156ff03a8724ef62137e66b1548544f30..12ea705bbe0e4f631cef81a45f2ceaae6af8a2d7 100644 (file)
@@ -4806,3 +4806,15 @@ close_socket:
                call_rcu(&obj->head, close_notify_sock_rcu);
        }
 }
+
+/*
+ * Destroy a ust app data structure and free its memory.
+ */
+void ust_app_destroy(struct ust_app *app)
+{
+       if (!app) {
+               return;
+       }
+
+       call_rcu(&app->pid_n.head, delete_ust_app_rcu);
+}
This page took 0.02301 seconds and 4 git commands to generate.