Fixed free before use when processing user folders

The buffer is freed later in the main function.
Merge pull request #1 from mkroman/master

Fixed free before use when processing user folders