Don't check if val is NULL before calling free; free(3) already

handles this

MFC after: 1 week
PR: 203649
Submitted by: Thomas Schmitt <scdbackup@gmx.net>
Coverity CID: 1305659
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2015-10-19 18:45:14 +00:00
parent 0fbf8c6085
commit d2a489eb1a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=289601

View File

@ -428,8 +428,7 @@ cd9660_parse_opts(const char *option, fsinfo_t *fsopts)
rv = set_option(cd9660_options, var, val);
}
if (var)
free(var);
free(var);
return (rv);
}