Clean-up: suppress bogus scan-build warning
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 12 Sep 2019 13:50:29 +0000 (09:50 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 12 Sep 2019 13:50:29 +0000 (09:50 -0400)
commit1f2292f6d16cea53dc94c0e16ab08eb71b70b938
tree5fd93f8941c3a3310b38d6fe85285adce17588bf
parent8ac478d0ad55edd322b2a4c6931e452d809bf5f3
Clean-up: suppress bogus scan-build warning

scan-build seems confused about the address passed to free() and
reports that chunk elements are passed with an offset of 8 bytes from
the address that was returned by calloc().

Move the inner-trace chunk of an element to the start of the element
wrapper-structure to silence this warning.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/trace-chunk.c
This page took 0.033083 seconds and 4 git commands to generate.