Fix: lttng_trace_archive_location_serialize is called on freed memory
[lttng-tools.git] / src / lib / lttng-ctl / rotate.c
index 1002e230b64e504b55583e1770aa49b42d38a88c..17964fb1070784b9b65badf61eca9a94da9e819c 100644 (file)
@@ -169,7 +169,7 @@ void lttng_rotation_handle_destroy(
        if (!rotation_handle) {
                return;
        }
-       lttng_trace_archive_location_destroy(rotation_handle->archive_location);
+       lttng_trace_archive_location_put(rotation_handle->archive_location);
        free(rotation_handle);
 }
 
This page took 0.023311 seconds and 4 git commands to generate.