Only free _parser if not null.

Fixes a segfault if an invalid vendor is passed in.
Merge pull request #2 from KenMacD/free-fix

Only free _parser if not null.