diff options
Diffstat (limited to 'malloc')
-rw-r--r-- | malloc/malloc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c index 0b9facefd4..703dcb56e7 100644 --- a/malloc/malloc.c +++ b/malloc/malloc.c @@ -4802,6 +4802,7 @@ _int_free(mstate av, mchunkptr p) goto errout; } p->fd = fd = old; + atomic_full_barrier (); } while ((old = catomic_compare_and_exchange_val_acq (fb, p, fd)) != fd); #else |