fixed some warnings recovered by valgrind
Merge branch 'future' of https://github.com/wallix/redemption into future