svn commit: samba r23290 - in branches: SAMBA_3_0/source/nsswitch SAMBA_3_0_26/source/nsswitch

tridge at samba.org tridge at samba.org
Sat Jun 2 03:08:07 GMT 2007


Jerry,

 > The moral of the story is "Don't mix malloc and
 > talloc".

it would be possible to replace all malloc() calls in Samba3 with
talloc() on a global "samba_malloc_context".

Then by dumping the contents of that context you could see what was
not using talloc. It would also fix mixed talloc/malloc bugs.

Cheers, Tridge


More information about the samba-technical mailing list