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:
parent
1db7356fa1
commit
eb7bf9d730
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user