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, 19 Sep 2019 19:31:48 +0000 (15:31 -0400)
commitc779502b1d01b1763fc6b5823f7c522bf20ebb4b
tree35930f1adbca856d3a559c61be1ecf42d54b82b1
parent5c0fcac1950bdfa9a2c3f84917dd9be056f4bced
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.025057 seconds and 4 git commands to generate.