Skip to content
Commit 9835632c authored by Adhemerval Zanella's avatar Adhemerval Zanella
Browse files

malloc: preserve errno on mcheck hooks [BZ #17924]

Similar to the fix 69fda43b, save and restore errno for the hook
functions used for MALLOC_CHECK_=3.

It fixes the malloc/tst-free-errno-mcheck regression.

Checked on x86_64-linux-gnu.
parent 38a033ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment