On 14.12.22 10:54, Jan Beulich wrote:
On 13.12.2022 17:00, Juergen Gross wrote:Today talloc_free() is not guaranteed to preserve errno, especially in case a custom destructor is being used.Change that by renaming talloc_free() to _talloc_free() in talloc.c and adding a wrapper to talloc.c.This looks to be stale ...This allows to remove some errno saving outside of talloc.c. Signed-off-by: Juergen Gross <[email protected]> --- V2: - drop wrapper (Julien Grall)... after this change?
Oh yes, indeed. It should be replaced by: "So preserve errno in talloc_free()." Juergen
OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature
