TravisCI: fixed leak, modified cppcheck flags