fd and oldcorr were not cleaned up before returning. BUG: 385894 FIXED-IN: 5.21.3
mentioned in commit 1913d9f5