s3:utils/profiles fix a use after free
authorChristian Ambach <ambi@samba.org>
Tue, 4 Nov 2014 22:51:23 +0000 (23:51 +0100)
committerChristian Ambach <ambi@samba.org>
Tue, 2 Dec 2014 23:43:19 +0000 (00:43 +0100)
commit3b90bfb1089e6a4b7e05e7ed62bb642521f57917
tree9e37f1f555885f3f7b20235492f15eebab28a498
parent4b41489901b7f1a78ffd479128c3e0d309e53b53
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
source3/utils/profiles.c