net_idmap: don't leak state_path onto talloc tos
authorDavid Disseldorp <ddiss@samba.org>
Sun, 2 Nov 2014 19:21:32 +0000 (20:21 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 3 Nov 2014 22:46:04 +0000 (23:46 +0100)
commit70896833c9dc47a7310620d492026a26e421713f
treebc58dd81e7f52516941fcfa9587bb19ddfb8d193
parent587b21646cd33727fa39c2db872b6d041c0c7057
net_idmap: don't leak state_path onto talloc tos

net_idmap currently uses a net_idmap_dbfile() helper to return the idmap
backed specific db path. Fix leaks in all callers.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/utils/net_idmap.c