PERFORCE change 69878 for review
Dag-Erling Smorgrav
des at FreeBSD.org
Fri Jan 28 06:22:11 PST 2005
http://perforce.freebsd.org/chv.cgi?CH=69878
Change 69878 by des at 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();
}
More information about the p4-projects
mailing list