Author: bapt
Date: Sun May 31 11:56:59 2015
New Revision: 283816
URL: https://svnweb.freebsd.org/changeset/base/283816
Log:
Remove useless test before free()
Modified:
head/usr.sbin/pw/pw_conf.c
Modified: head/usr.sbin/pw/pw_conf.c
==============================================================================
--- head/usr.sbin/pw/pw_conf.c Sun May 31 11:55:28 2015 (r283815)
+++ head/usr.sbin/pw/pw_conf.c Sun May 31 11:56:59 2015 (r283816)
@@ -357,8 +357,7 @@ read_userconfig(char const * file)
break;
}
}
- if (linecap > 0)
- free(buf);
+ free(buf);
fclose(fp);
}
return (&config);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"