talloc vs malloc speed

Andreas Schneider asn at samba.org
Tue Apr 18 05:54:43 UTC 2023


On Monday, 17 April 2023 21:15:23 CEST Florian Weimer wrote:
> > The malloc attribute can be set to a few functions, that helps. I use
> > the attribute with the deallocator to avoid issue on free with
> > destructors.
> 
> I *think* that should be safe, but I'm not entirely sure.  Maybe ask on
> the GCC list?

Is it valid to set the the malloc attribute for talloc_strdup()?

-- 
Andreas Schneider                      asn at samba.org
Samba Team                             www.samba.org
GPG-ID:     8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D





More information about the samba-technical mailing list