Fix small issues

Closed username-removed-1502174 requested to merge Huemac/tortoisegit:bugs into master
  • Call va_end
  • Do not mix .end() & .cend() in iterators

Signed-off-by: Visuri, Veli-Matti veli-matti.visuri@f-secure.com

Edited by username-removed-1502174