projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lttng-{enable-event(1),event-rule(7)}: `--filter` is not always avail.
[lttng-tools.git]
/
src
/
common
/
dynamic-buffer.c
diff --git
a/src/common/dynamic-buffer.c
b/src/common/dynamic-buffer.c
index 26d318dcdf3c1a3ec6d570b0de3d26a58bd37d36..4e87c58ac1b43778cee695bbe2f78596b99d3f8d 100644
(file)
--- a/
src/common/dynamic-buffer.c
+++ b/
src/common/dynamic-buffer.c
@@
-186,6
+186,7
@@
void lttng_dynamic_buffer_reset(struct lttng_dynamic_buffer *buffer)
buffer->size = 0;
buffer->_capacity = 0;
free(buffer->data);
buffer->size = 0;
buffer->_capacity = 0;
free(buffer->data);
+ buffer->data = NULL;
}
LTTNG_HIDDEN
}
LTTNG_HIDDEN
This page took
0.023224 seconds
and
4
git commands to generate.