lib: Pass mem_ctx to cache_path()
authorVolker Lendecke <vl@samba.org>
Thu, 16 Aug 2018 08:51:44 +0000 (10:51 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 17 Aug 2018 12:28:51 +0000 (14:28 +0200)
commit6ca5ba5272cc6ff5fbada1b9a801ccc16861eb0e
tree0a4cbeb09c1a4e986e53442c0316b0eef7bcddd5
parentc2ea10077715fb2a554a9f39b2ff49338bd8a124
lib: Pass mem_ctx to cache_path()

Fix a confusing API: Many places TALLOC_FREE the path where it's not
clear you have to do it.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri Aug 17 14:28:51 CEST 2018 on sn-devel-144
15 files changed:
libgpo/pygpo.c
source3/lib/gencache.c
source3/lib/util_path.c
source3/lib/util_path.h
source3/libgpo/gpext/registry.c
source3/libgpo/gpext/scripts.c
source3/libgpo/gpext/security.c
source3/libsmb/samlogon_cache.c
source3/nmbd/nmbd_serverlistdb.c
source3/passdb/login_cache.c
source3/printing/printing.c
source3/printing/printing_db.c
source3/profile/profile.c
source3/smbd/lanman.c
source3/utils/net_ads_gpo.c