]> Savannah Git Hosting - gnulib.git/commit
xmemdup0: Improve GCC 11 allocation-deallocation checking.
authorBruno Haible <bruno@clisp.org>
Sat, 7 Aug 2021 21:08:45 +0000 (23:08 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 7 Aug 2021 21:08:45 +0000 (23:08 +0200)
commit5c2fcfe2817f9d148807fd00efc6214fe4aea0a5
tree27a3ff02d2f10476da5a930e1d613f3838477af4
parent4a0993e377f69cdf533d72f00d74471af870bb05
xmemdup0: Improve GCC 11 allocation-deallocation checking.

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