svn commit: r334276 - head/lib/libc/string

Marcelo Araujo araujo at FreeBSD.org
Mon May 28 06:01:03 UTC 2018


Author: araujo
Date: Mon May 28 06:01:02 2018
New Revision: 334276
URL: https://svnweb.freebsd.org/changeset/base/334276

Log:
  Remove unnecessary free(string) from EXAMPLES.
  
  Reported by:	se

Modified:
  head/lib/libc/string/strsep.3

Modified: head/lib/libc/string/strsep.3
==============================================================================
--- head/lib/libc/string/strsep.3	Mon May 28 05:01:42 2018	(r334275)
+++ head/lib/libc/string/strsep.3	Mon May 28 06:01:02 2018	(r334276)
@@ -91,7 +91,6 @@ if (string != NULL)
 		printf("%s\en", token);
 
 free(tofree);
-free(string);
 .Ed
 .Pp
 The following uses


More information about the svn-src-head mailing list