r18996: merge from samba4:
commit43be47f56bcaa2fd93ede867663cddec04fd8fed
authorStefan Metzmacher <metze@samba.org>
Fri, 29 Sep 2006 10:53:27 +0000 (29 10:53 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:14:54 +0000 (10 12:14 -0500)
tree2032aee6a9f03c1efaefbf7fdda14b6e20c8ce2f
parentda6c811eca4b03395bc76a34eaeaedf5566154ba
r18996: merge from samba4:

- fix bug 4078
- talloc_free(talloc_autofree_context()); should not result
  in a SIGABORT on exit
- add a test for this, but this test can also pass in the standalone build
  and samba3, as samba4 uses talloc_autofree_context()

metze
(This used to be commit f5b0924f975f58bba3c13a53388ea25af51d3bc8)
source3/lib/talloc/talloc.c
source3/lib/talloc/testsuite.c