* lib/fts_.h (fts_open): Declare that deallocation must happen through
'fts_close'.
+2021-08-07 Bruno Haible <bruno@clisp.org>
+
+ fts: Improve GCC 11 allocation-deallocation checking.
+ * lib/fts_.h (fts_open): Declare that deallocation must happen through
+ 'fts_close'.
+
2021-08-07 Bruno Haible <bruno@clisp.org>
eealloc: Improve GCC 11 allocation-deallocation checking.
_GL_ATTRIBUTE_NODISCARD
FTS *fts_open (char * const *, int,
int (*)(const FTSENT **, const FTSENT **))
- __THROW;
+ _GL_ATTRIBUTE_DEALLOC (fts_close, 1) __THROW;
_GL_ATTRIBUTE_NODISCARD
FTSENT *fts_read (FTS *) __THROW;