summaryrefslogtreecommitdiffstats
path: root/source3/lib/errmap_unix.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2015-03-05 12:48:47 -0800
committerJeremy Allison <jra@samba.org>2015-03-08 18:24:06 +0100
commit3289a5d84f73bf044e5767a6c47a3f7bf8357c08 (patch)
treeb231566d9d0082f792952f696a3af69ad9351935 /source3/lib/errmap_unix.c
parente53f6e9ec2eb05ded39a0caec407bb3bb23039cf (diff)
downloadsamba-3289a5d84f73bf044e5767a6c47a3f7bf8357c08.tar.gz
samba-3289a5d84f73bf044e5767a6c47a3f7bf8357c08.tar.xz
samba-3289a5d84f73bf044e5767a6c47a3f7bf8357c08.zip
lib: talloc: Fix bug when calling a destructor.
If the destructor itself calls talloc_set_destructor() and returns -1, the new destructor set is overwritten by talloc. Dectect that and leave the new destructor in place. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ira Cooper <ira@samba.org>
Diffstat (limited to 'source3/lib/errmap_unix.c')
0 files changed, 0 insertions, 0 deletions