>> you leak sd in the (implicit) else block here. > > So does Windows. In that case, you should include that in your tests, as it's not especially obvious. --Juan