Tests: fix: schedule api: leak of rotation schedule list
[lttng-tools.git] / tests / regression / tools / rotation / schedule_api.c
index 61146856379f500d2b3dde2f96897655b21cf0b6..009473893b9fb37e004a5936580c9063f47ef5ea 100644 (file)
@@ -255,7 +255,7 @@ void test_add_list_remove_schedule(
                        &schedules_count);
        ok(status == LTTNG_ROTATION_STATUS_OK && schedules_count == 0,
                        "Listing returned 0 rotation schedules after removal");
-
+       lttng_rotation_schedules_destroy(list_schedules);
 }
 
 static
This page took 0.023148 seconds and 4 git commands to generate.