talloc: use a library destructor instead of atexit() if available
authorStefan Metzmacher <metze@samba.org>
Tue, 20 Mar 2018 15:48:33 +0000 (16:48 +0100)
committerRalph Boehme <slow@samba.org>
Wed, 21 Mar 2018 12:11:14 +0000 (13:11 +0100)
commit41b6810ba01f44537f470c806adb8686e1a39c48
tree9d287eefb60a3aaabbeedf51e1ab22896548025e
parent4a7eaf909d7f139462351c43ef1dbb2915f8490f
talloc: use a library destructor instead of atexit() if available

BUG: https://bugzilla.samba.org/show_bug.cgi?id=7587

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
lib/talloc/talloc.c