am c37e905a: Merge "Fix memory leak where we close the descriptor instead of the file." into lmp-dev

* commit 'c37e905a245e3134a417677b93d5a020bab62d75':
  Fix memory leak where we close the descriptor instead of the file.