mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +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)
|
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;
|
ADS_STATUS status;
|
||||||
LDAPMessage *res = NULL;
|
LDAPMessage *res = NULL;
|
||||||
TALLOC_CTX *mem_ctx;
|
TALLOC_CTX *mem_ctx;
|
||||||
|
Loading…
Reference in New Issue
Block a user