memory handling in libwbclient?
Gerald (Jerry) Carter
jerry at samba.org
Wed Jan 2 14:18:45 GMT 2008
-----BEGIN PGP SIGNED MESSAGE-----
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 :-)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v126.96.36.199 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the samba-technical