home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / hp / 12611 < prev    next >
Encoding:
Internet Message Format  |  1992-11-06  |  897 b 

  1. Path: sparky!uunet!portal!lll-winken!cert!netnews.upenn.edu!jvnc.net!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!sdd.hp.com!scd.hp.com!hpscdm!cupnews0.cup.hp.com!raj
  2. From: raj@cup.hp.com (Rick Jones)
  3. Newsgroups: comp.sys.hp
  4. Subject: Re: Is it safe to free() mem alloc'd by xdr routines?
  5. Message-ID: <Bx9FAM.ALJ@cup.hp.com>
  6. Date: 5 Nov 92 20:23:10 GMT
  7. References: <1992Nov5.081038.1639@codex.oz.au>
  8. Sender: news@cupnews0.cup.hp.com
  9. Organization: Hewlett-Packard
  10. Lines: 9
  11. X-Newsreader: TIN [version 1.1.4 PL6]
  12.  
  13. There are some "issues" ;-) with malloc/free and items created by/with
  14. xdr et al.  As part of the port of SPEC SFS 1.0 (LADDIS) to HP-UX, I
  15. replaced the calls to free() with _rpc_free() for those places where I
  16. knew the memory was allocated by xdr...
  17.  
  18. just what one engineer happened to do, not necessarily what will be
  19. done in the future, nor what HP may have wanted me to do...
  20.  
  21. rick jones
  22.