projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: lttng_trace_archive_location_serialize is called on freed memory
[lttng-tools.git]
/
src
/
lib
/
lttng-ctl
/
rotate.c
diff --git
a/src/lib/lttng-ctl/rotate.c
b/src/lib/lttng-ctl/rotate.c
index 1002e230b64e504b55583e1770aa49b42d38a88c..17964fb1070784b9b65badf61eca9a94da9e819c 100644
(file)
--- a/
src/lib/lttng-ctl/rotate.c
+++ b/
src/lib/lttng-ctl/rotate.c
@@
-169,7
+169,7
@@
void lttng_rotation_handle_destroy(
if (!rotation_handle) {
return;
}
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);
}
free(rotation_handle);
}
This page took
0.02845 seconds
and
4
git commands to generate.