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:
parent
0fbf8c6085
commit
d2a489eb1a
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user