setting pointers to NULL after freeing memory to avoid crashes.
gitignore: only top-level "external" folder is ignored.
Merge branch 'master' of git://github.com/awakecoding/FreeRDP