]> Savannah Git Hosting - gnulib.git/commit
string-buffer: Improve GCC 11 allocation-deallocation checking.
authorBruno Haible <bruno@clisp.org>
Sat, 7 Aug 2021 20:16:55 +0000 (22:16 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 7 Aug 2021 20:16:55 +0000 (22:16 +0200)
commit40cc7b7ee4e261ea3476717e0e8565fe11464fba
treece536ce5ff8c8ef088ec319e0e7382951399bdb2
parent21884ba6ddab17cc9dd05c92b6b31943f3173db8
string-buffer: Improve GCC 11 allocation-deallocation checking.

* lib/string-buffer.h: Include <stdlib.h> instead of <stddef.h>.
(sb_dupfree): Declare that deallocation must happen through 'free'.
ChangeLog
lib/string-buffer.h