Add QtCreator project files to .gitignore
Fix memory leak for the IO file buffer