1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

s3-net: Make sure we don't call free on garbage.

Found by clang-analyzer.
This commit is contained in:
Andreas Schneider 2010-06-29 10:07:22 +02:00
parent 1db7356fa1
commit eb7bf9d730

View File

@ -291,7 +291,7 @@ out:
static int net_ads_gpo_list(struct net_context *c, int argc, const char **argv)
{
ADS_STRUCT *ads;
ADS_STRUCT *ads = NULL;
ADS_STATUS status;
LDAPMessage *res = NULL;
TALLOC_CTX *mem_ctx;