diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-11-25 16:35:22 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:16:04 -0500 |
commit | 433869019bdaa7f21467769eb5398f2973fa54f3 (patch) | |
tree | 46edc0661443a5104ca8d961250ac655a2c77f02 /source3/lib/ldb/modules | |
parent | 2a0e64e6916d38402d4c03b9e1e6a98453449fa8 (diff) | |
download | samba-433869019bdaa7f21467769eb5398f2973fa54f3.tar.gz samba-433869019bdaa7f21467769eb5398f2973fa54f3.tar.bz2 samba-433869019bdaa7f21467769eb5398f2973fa54f3.zip |
r19889: Fix klokwork ID 2187
(This used to be commit 1bd660fb9139238229fc6a80566c03f473cad094)
Diffstat (limited to 'source3/lib/ldb/modules')
-rw-r--r-- | source3/lib/ldb/modules/asq.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/ldb/modules/asq.c b/source3/lib/ldb/modules/asq.c index 2fed6aac50..bee8038d9f 100644 --- a/source3/lib/ldb/modules/asq.c +++ b/source3/lib/ldb/modules/asq.c @@ -105,6 +105,9 @@ static int asq_terminate(struct ldb_handle *handle) int i; ac = talloc_get_type(handle->private_data, struct asq_context); + if (ac == NULL) { + return LDB_ERR_OPERATIONS_ERROR; + } handle->status = LDB_SUCCESS; handle->state = LDB_ASYNC_DONE; |