1
0
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:
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) 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;