memory handling in libwbclient?

Gerald (Jerry) Carter jerry at samba.org
Wed Jan 2 14:18:45 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Volker Lendecke wrote:
> Hi, Jerry!
> 
> Looking at libwbclient a bit more closely, one thing comes
> to mind: wbcGetpwnam() returns something that needs to be
> freed by wbcFreeMemory() whereas wbcLookupRids() and
> wbcLookupSid return something that needs to be explicitly
> with free(). Is that difference intended or just
> accidential? And, would you consider it worthwile to change 
> the functions that return malloc'ed memory to functions that
> return the hidden talloc structures?

Accident.  Thought I had fixed that.  Will get to it today. Thanks.


btw...Happy New Year :-)




jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHe51FIR7qMdg1EfYRAoXHAJ91Nl+HpNFBh2Gi2G0MqTdL99XvrgCgugUO
I8U3w9fapFvvvwDCtnmX3Rk=
=6QwC
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list