s3:utils/profiles fix a use after free
commit759e3fd347dbcaf7ff0a6cd38592542068f8e9f5
authorChristian Ambach <ambi@samba.org>
Tue, 4 Nov 2014 22:51:23 +0000 (4 23:51 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 18 Dec 2014 20:30:06 +0000 (18 21:30 +0100)
treebbdcdb088bd39226191107a8a5bccf38f7c4f8fa
parent997f6a93e969cd9b4e00ef7270a66e6373942517
s3:utils/profiles fix a use after free

path is a talloc-child of subkeys, so subkeys should not be freed before calling
verbose_output

Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Christian Ambach <ambi@samba.org>
Autobuild-Date(master): Wed Dec  3 00:43:19 CET 2014 on sn-devel-104

(cherry picked from commit 3b90bfb1089e6a4b7e05e7ed62bb642521f57917)
source3/utils/profiles.c