Index: rpc_client/cli_ds.c =================================================================== RCS file: /data/cvs/samba/source/rpc_client/cli_ds.c,v retrieving revision 1.2.2.8 diff -u -r1.2.2.8 cli_ds.c --- rpc_client/cli_ds.c 8 Jan 2004 22:21:29 -0000 1.2.2.8 +++ rpc_client/cli_ds.c 15 Jan 2004 05:13:47 -0000 @@ -62,7 +62,7 @@ result = r.status; - if (ctr) { + if ( r.ptr && ctr ) { ctr->basic = talloc(mem_ctx, sizeof(DSROLE_PRIMARY_DOMAIN_INFO_BASIC)); if (!ctr->basic) goto done;