about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src/errors.rs
diff options
context:
space:
mode:
authorPetros Angelatos <petrosagg@gmail.com>2025-04-08 22:37:25 +0300
committerJosh Stone <jistone@redhat.com>2025-04-18 10:06:17 -0700
commitf31cf5cb7c8f2e7bb60c1806459895134e4d7268 (patch)
tree9b80915cd2ebebf280ab24aeb4ac610dcb4695bd /compiler/rustc_codegen_gcc/src/errors.rs
parente71ad4a2c9da7100c092e095c80b6436d3193740 (diff)
downloadrust-f31cf5cb7c8f2e7bb60c1806459895134e4d7268.tar.gz
rust-f31cf5cb7c8f2e7bb60c1806459895134e4d7268.zip
sync::mpsc: prevent double free on `Drop`
This PR is fixing a regression introduced by #121646 that can lead to a
double free when dropping the channel.

The details of the bug can be found in the corresponding crossbeam PR
https://github.com/crossbeam-rs/crossbeam/pull/1187

Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
(cherry picked from commit b9e2ac5c7b1d6bb3b6f5fdfe0819eaf7e95bf7ff)
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/errors.rs')
0 files changed, 0 insertions, 0 deletions