summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net_ads.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c
index ec5ecab65e..48df564792 100644
--- a/source3/utils/net_ads.c
+++ b/source3/utils/net_ads.c
@@ -1464,9 +1464,10 @@ int net_ads_join(struct net_context *c, int argc, const char **argv)
/* exit from this block using machine creds */
ads_destroy(&ads_dns);
}
-#endif
done:
+#endif
+
TALLOC_FREE(r);
TALLOC_FREE( ctx );