summaryrefslogtreecommitdiff
path: root/source4/rpc_server/lsa
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-02-23 12:29:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:48:49 -0500
commit041b0cfa971480720ad4b35623f46d857346e16b (patch)
tree593a25f346211b2ee18b71cde92d915fa5b837a8 /source4/rpc_server/lsa
parentd92bc6db36880d973b19a07fca69876eb33796a0 (diff)
downloadsamba-041b0cfa971480720ad4b35623f46d857346e16b.tar.gz
samba-041b0cfa971480720ad4b35623f46d857346e16b.tar.bz2
samba-041b0cfa971480720ad4b35623f46d857346e16b.zip
r21518: fix panic, sorry...
metze (This used to be commit 3c786eb6bdb3289a237d231e75092a8b3ca56197)
Diffstat (limited to 'source4/rpc_server/lsa')
-rw-r--r--source4/rpc_server/lsa/dcesrv_lsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/lsa/dcesrv_lsa.c b/source4/rpc_server/lsa/dcesrv_lsa.c
index 98200457dd..7e457cff7d 100644
--- a/source4/rpc_server/lsa/dcesrv_lsa.c
+++ b/source4/rpc_server/lsa/dcesrv_lsa.c
@@ -386,7 +386,7 @@ static NTSTATUS dcesrv_lsa_get_policy_state(struct dcesrv_call_state *dce_call,
talloc_free(forest_ref_res);
return NT_STATUS_INVALID_SYSTEM_SERVICE;
}
- if (ref_res->count != 1) {
+ if (forest_ref_res->count != 1) {
talloc_free(forest_ref_res);
return NT_STATUS_NO_SUCH_DOMAIN;
}