X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fenable_rotation.c;h=42aa45017d9b29b0eda022ccb5ace06b72399abf;hb=4b7e956f92a664e7da9a69786736105d1b27b335;hp=80ebc8cdc48a59f12a189b436f9d42b4a11cb330;hpb=3ae5c539f96856c83f3f17fbc37660d23462e3e5;p=lttng-tools.git 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; }