Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Aug 2001 14:31:22 -0700 (PDT)
From:      Ian Dowse <iedowse@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/rpc rpcb_clnt.c
Message-ID:  <200108022131.f72LVMu10156@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
iedowse     2001/08/02 14:31:22 PDT

  Modified files:
    lib/libc/rpc         rpcb_clnt.c 
  Log:
  In getclnthandle(), if the address is found in the cache we need
  to strdup() the address string before returning it via *targaddr
  because the caller will free the string.
  
  Change the comment at the top of getclnthandle() to clarify that
  the caller is responsible for freeing *targaddr.
  
  Noticed by:	sobomax
  
  Revision  Changes    Path
  1.4       +6 -3      src/lib/libc/rpc/rpcb_clnt.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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