]> Savannah Git Hosting - gnulib.git/commit
uninorm, unistr: Improve GCC 11 allocation-deallocation checking.
authorBruno Haible <bruno@clisp.org>
Sun, 8 Aug 2021 00:14:11 +0000 (02:14 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 8 Aug 2021 00:14:11 +0000 (02:14 +0200)
commit526cd383bd18ea29e390548cfde68e2d6d7fa5f9
treef70e16da939f8cab5f8448d636e80b64b6938ffd
parent54c36a38b1b30055133d46a8fe2f69a73f8284c4
uninorm, unistr: Improve GCC 11 allocation-deallocation checking.

* lib/uninorm.in.h (uninorm_filter_free): Move declaration up.
(uninorm_filter_create): Declare that deallocation must happen through
'uninorm_filter_free'.
* lib/unistr.in.h: Include <stdlib.h>.
(u8_strdup, u16_strdup, u32_strdup): Declare that deallocation must
happen through 'free'.
ChangeLog
lib/uninorm.in.h
lib/unistr.in.h