Author: ngie Date: Mon Oct 26 03:55:13 2015 New Revision: 289990 URL: https://svnweb.freebsd.org/changeset/base/289990
Log: MFstable/10 r289989: MFC r289601: Don't check if `val` is NULL before calling free; free(3) already handles this PR: 203649 Submitted by: Thomas Schmitt <scdbac...@gmx.net> Coverity CID: 1305659 Sponsored by: EMC / Isilon Storage Division Modified: stable/9/usr.sbin/makefs/cd9660.c Directory Properties: stable/9/ (props changed) stable/9/usr.sbin/ (props changed) stable/9/usr.sbin/makefs/ (props changed) Modified: stable/9/usr.sbin/makefs/cd9660.c ============================================================================== --- stable/9/usr.sbin/makefs/cd9660.c Mon Oct 26 03:53:48 2015 (r289989) +++ stable/9/usr.sbin/makefs/cd9660.c Mon Oct 26 03:55:13 2015 (r289990) @@ -428,8 +428,7 @@ cd9660_parse_opts(const char *option, fs rv = set_option(cd9660_options, var, val); } - if (var) - free(var); + free(var); return (rv); } _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"