Remove unnecessary NULL check before free()
Merge pull request #316 from daniel-beard/dbeard/Unnecessary_NULL_check_before_free

Remove unnecessary NULL check before free()