fix memory leak in case PKGBUILD can't be fully read
found by cppcheck
Merge pull request #95 from danners/master

fix memory leak in case PKGBUILD can't be fully read