X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fenable_rotation.c;h=42aa45017d9b29b0eda022ccb5ace06b72399abf;hp=80ebc8cdc48a59f12a189b436f9d42b4a11cb330;hb=4b7e956f92a664e7da9a69786736105d1b27b335;hpb=09a783a8f1f1e17fb7297a7e7c6f9d1bd8ff9b63 diff --git a/src/bin/lttng/commands/enable_rotation.c b/src/bin/lttng/commands/enable_rotation.c index 80ebc8cdc..42aa45017 100644 --- a/src/bin/lttng/commands/enable_rotation.c +++ b/src/bin/lttng/commands/enable_rotation.c @@ -152,6 +152,7 @@ static int setup_rotate(char *session_name, uint64_t timer, uint64_t size) error: ret = -1; end: + lttng_rotation_schedule_attr_destroy(attr); return ret; }