s3-auth: Fix a memory leak in make_server_info_info3()
authorAndreas Schneider <asn@samba.org>
Wed, 19 Aug 2015 14:19:30 +0000 (16:19 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 21 Aug 2015 12:46:15 +0000 (14:46 +0200)
commit6363c0232c2238e1a782e9c22ef762e3ff9b7563
treeca435c5df89c14ec2e32e839978ebba29b68caaf
parente8c76932e4ac192a00afa3b9731f5921c4b37da6
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>
source3/auth/auth_util.c