s3:utils/profiles fix a use after free
commit950506d158cf88c72d993cec2f199abc6e90d066
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 19:50:08 +0000 (18 20:50 +0100)
tree79dab96d6ddb5c14f083ab47677397ebc88aa169
parentb18866b858a5ee75340d6f26e27f834db049c231
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