coverity_master 406 B

12345678
  1. o Minor bugfixes:
  2. - Prevent using negative indices during unit test runs when read_all()
  3. fails. Spotted by coverity. Bugfix on 0.2.3.1-alpha.
  4. - Fix a rare memory leak when checking the nodelist without it being
  5. present. Found by coverity. Bugfix on 0.2.3.1-alpha.
  6. o Code simplifications and refactoring:
  7. - Remove a dead variable in the heartbeat log code. Spotted by coverity.