]> Savannah Git Hosting - gnulib.git/commit
read-file: Improve GCC 11 allocation-deallocation checking.
authorBruno Haible <bruno@clisp.org>
Sat, 7 Aug 2021 19:52:48 +0000 (21:52 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 7 Aug 2021 19:52:48 +0000 (21:52 +0200)
commitce3c801be1caa4651c788e8058c509d5e4e94d99
tree348de149a51afd118e1b72c23a07a25729d9dd4b
parent16aea871d6bef0ca811908b7199de849448e4a9f
read-file: Improve GCC 11 allocation-deallocation checking.

* lib/read-file.h: Include <stdlib.h> instead of <stddef.h>.
(fread_file, read_file): Declare that deallocation must happen through
'free'.
ChangeLog
lib/read-file.h