report the location of the original talloc_free on double freetalloc-2.0.0
commit27b19eb9f61dec1c60d9c6abcf1fb2e12541f62a
authorAndrew Tridgell <tridge@samba.org>
Fri, 4 Sep 2009 03:56:46 +0000 (4 13:56 +1000)
committerAndrew Tridgell <tridge@samba.org>
Fri, 4 Sep 2009 04:40:51 +0000 (4 14:40 +1000)
tree30fce0589e66b1d434cafe5a317030d28aaf937d
parentb35c627b92c0585f4fa3a1d92385a908f0e0cd5b
report the location of the original talloc_free on double free

When we get a double free abort from talloc it is often hard to work
out where the first free came from. This patch takes advantage of the
fact that _talloc_free() now takes a location the free was called from
to allow the double free abort code to print the location of the first
free that conflicts.
lib/talloc/talloc.c