Possible memory leak in map_info3_to_validation
authorSwen Schillig <swen@vnet.ibm.com>
Fri, 25 May 2018 08:40:54 +0000 (10:40 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 20 Jun 2018 19:05:40 +0000 (21:05 +0200)
commitbca97cc4738fb4461fd27b6df9556f3e1377519d
tree91c7a5ada2a8deb34b6add810798111029973809
parentdefc1ced3928e074d7a229bffc168933c513553f
Possible memory leak in map_info3_to_validation

In case of a failing call to copy_netr_SamInfo3, the allocated memory
for "validation" needs to be free'd before returning.

Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Jun 20 21:05:40 CEST 2018 on sn-devel-144
source3/rpc_client/util_netlogon.c