commit | 6ad7df423b71470babef545506a1af569074fc59 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Fri Aug 07 11:45:18 2020 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri Aug 07 14:27:54 2020 +0200 |
tree | f92ef8c8f30ced82a71c94d6fa7828d356b036c7 | |
parent | fd2e90608439cabcf12899f4e8dcc2d4c51c10c3 [diff] |
MINOR: arg: Use chunk_destroy() to release string arguments This way, all fields of the buffer structure are reset when a string argument (ARGT_STR) is released. It is also a good way to explicitly specify this kind of argument is a chunk. So .data and .size fields must be set. This patch may be backported to ease backports.