fix possible refleak (closes #14752)
1 file changed