home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Source / GNU / uucp / Uucp.framework / uucp.subproj / xfree.c < prev    next >
Encoding:
C/C++ Source or Header  |  1995-10-09  |  255 b   |  16 lines

  1. /* xfree.c
  2.    Some versions of free (like the one in SCO Unix 3.2.2) don't handle
  3.    null pointers correctly, so we go through our own routine.  */
  4.  
  5. #include "uucp.h"
  6.  
  7. #include "uudefs.h"
  8.  
  9. void
  10. xfree (p)
  11.      pointer p;
  12. {
  13.   if (p != NULL)
  14.     free (p);
  15. }
  16.