[RFC] idmap_nss plugin architecture for winbindd

Gerald (Jerry) Carter jerry at samba.org
Thu Nov 16 15:12:17 GMT 2006


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

simo wrote:
> 
> This way you don't have to take care of all 
> single allocations locally you have just to think what
> have to be local and what have to me long
> term (if anything) so that when you exit (always 
> through the "done" label) you are sure all local
> memory is freed. It makes also code more readable as
> you don't need a lot of free() calls everywhere
> before returning.

It's just personal style.  But I'm not religious about this
particular position.  There's only two malloc()'s in the code.
in return from parse_nss_parm().






cheers, jerry
=====================================================================
Samba                                    ------- http://www.samba.org
Centeris                         -----------  http://www.centeris.com
"What man is a man who does not make the world better?"      --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFXH/RIR7qMdg1EfYRAuM4AKCeZbm/QXjR8Obeq8AG8WaKs/dETgCeICkD
xQtInedpnZmRf5IV1gY78iE=
=8cdf
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list