Code

Fix memory corruption when .gitignore does not end by \n