fix potential refleak in PyFloat_AsDouble (closes #23590)
2 files changed