NetBSD/common
thorpej fc5ee90beb In _prop_string_instantiate(), when we de-dup a non-MUTABLE string, make
sure we free the provided string buffer if NOCOPY is not set.  Fixes
a memory leak reported by M. Boerschig.

While we're at it, also change _prop_string_instantiate() to free the
provided string buffer in the not-NOCOPY case when string object allocation
fails (this was previously handled by _prop_string_instantiate()'s
callers).

PR lib/57699
2023-11-17 21:29:33 +00:00
..
dist/zlib Handle standalone code. 2022-10-15 23:21:34 +00:00
include
lib In _prop_string_instantiate(), when we de-dup a non-MUTABLE string, make 2023-11-17 21:29:33 +00:00