s3-auth: Fix a memory leak in make_server_info_info3()
commitaca49d0e15701ead5df8674fc2506b462605a057
authorAndreas Schneider <asn@samba.org>
Wed, 19 Aug 2015 14:19:30 +0000 (19 16:19 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 31 Aug 2015 08:18:15 +0000 (31 10:18 +0200)
treeb8d9af02e685867b42d4be65b88994d84718a6ba
parentf5c6c894ce2b88c0a4a38377d0ebd3a14ff0e213
s3-auth: Fix a memory leak in make_server_info_info3()

We call make_server_info(NULL) and it is possible that we do not free
it, because server_info is not allocated on the memory context we pass
to the function.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=9862

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
(cherry picked from commit 6363c0232c2238e1a782e9c22ef762e3ff9b7563)
source3/auth/auth_util.c