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

Attachment: OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to