Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 May 2018 06:01:03 +0000 (UTC)
From:      Marcelo Araujo <araujo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r334276 - head/lib/libc/string
Message-ID:  <201805280601.w4S613YU077582@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805280601.w4S613YU077582>