Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jan 2005 14:22:10 GMT
From:      Dag-Erling Smorgrav <des@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 69878 for review
Message-ID:  <200501281422.j0SEMAPj025967@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=69878

Change 69878 by des@des.at.des.thinksec.com on 2005/01/28 14:21:35

	Use FREE() instead of free().

Affected files ...

.. //depot/projects/openpam/lib/openpam_free_envlist.c#2 edit

Differences ...

==== //depot/projects/openpam/lib/openpam_free_envlist.c#2 (text+ko) ====

@@ -25,7 +25,7 @@
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
- * $P4: //depot/projects/openpam/lib/openpam_free_envlist.c#1 $
+ * $P4: //depot/projects/openpam/lib/openpam_free_envlist.c#2 $
  */
 
 #include <stdlib.h>
@@ -49,8 +49,8 @@
 	if (envlist == NULL)
 		RETURNV();
 	for (env = envlist; *env != NULL; ++env)
-		free(*env);
-	free(envlist);
+		FREE(*env);
+	FREE(envlist);
 	RETURNV();
 }
 



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