memory handling in libwbclient?
Volker Lendecke
Volker.Lendecke at SerNet.DE
Sun Dec 23 23:06:46 GMT 2007
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?
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20071224/c16fa66b/attachment.bin
More information about the samba-technical
mailing list