talloc_tos() in common code

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Apr 13 05:45:07 MDT 2011

On Wed, Apr 13, 2011 at 01:35:56PM +0200, Stefan (metze) Metzmacher wrote:
> I wonder why we can't use the talloc_tos() infrastructure in common code?
> I know that we can't use talloc_tos() directly, because the stackframe
> might not be in place

We could. talloc_tos() implicitly creates a stackframe that
will never be freed though. We could certainly increase the
debug level of the message that happens at this point.


SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen

More information about the samba-technical mailing list