Fix a warning message.
authorJeremy Allison <jra@samba.org>
Wed, 22 Dec 2010 02:11:40 +0000 (18:11 -0800)
committerJeremy Allison <jra@samba.org>
Wed, 22 Dec 2010 02:59:18 +0000 (03:59 +0100)
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Dec 22 03:59:18 CET 2010 on sn-devel-104

source3/utils/net_ads.c

index ec5ecab65e7d44bbbb5ba2b287e305ca7cf8d46b..48df56479232c89639d90193e04ee21107d3757c 100644 (file)
@@ -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 );