goto fail;
}
+ if (!(ctx = talloc_init("net_ads_join"))) {
+ d_fprintf(stderr, "Could not initialise talloc context.\n");
+ werr = WERR_NOMEM;
+ goto fail;
+ }
+
use_in_memory_ccache();
werr = libnet_init_JoinCtx(ctx, &r);
goto fail;
}
- if (!(ctx = talloc_init("net_ads_join"))) {
- d_fprintf(stderr, "Could not initialise talloc context.\n");
- werr = WERR_NOMEM;
- goto fail;
- }
-
/* process additional command line args */
for ( i=0; i<argc; i++ ) {