# Bug report ### Bug description: I found a handful of reference leaks in the core using Codex. PR incoming. ### CPython versions tested on: CPython main branch ### Operating systems tested on: macOS <!-- gh-linked-prs --> ### Linked PRs * gh-145377 * gh-145385 * gh-145421 * gh-145422 * gh-145423 * gh-145474 * gh-145476 * gh-145477 * gh-145539 * gh-145543 * gh-145609 * gh-145610 * gh-145611 * gh-145621 * gh-145622 * gh-145666 * gh-145669 * gh-145684 * gh-145712 * gh-145820 * gh-145922 * gh-145924 <!-- /gh-linked-prs -->
Bug report
Bug description:
I found a handful of reference leaks in the core using Codex. PR incoming.
CPython versions tested on:
CPython main branch
Operating systems tested on:
macOS
Linked PRs
md5module.candhmacmodule.c(GH-145422) #145610queuemodule.cout-of-memory path (GH-145543) #145621queuemodule.cout-of-memory path (GH-145543) #145622structseq.__replace__(GH-145820) #145922structseq.__replace__(GH-145820) #145924