svn commit: samba r19891 - in
branches/SAMBA_3_0/source/lib/ldb/modules: .
vlendec at samba.org
vlendec at samba.org
Sat Nov 25 16:39:34 GMT 2006
Author: vlendec
Date: 2006-11-25 16:39:34 +0000 (Sat, 25 Nov 2006)
New Revision: 19891
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19891
Log:
Fix klokwork id 2189
Modified:
branches/SAMBA_3_0/source/lib/ldb/modules/asq.c
Changeset:
Modified: branches/SAMBA_3_0/source/lib/ldb/modules/asq.c
===================================================================
--- branches/SAMBA_3_0/source/lib/ldb/modules/asq.c 2006-11-25 16:38:23 UTC (rev 19890)
+++ branches/SAMBA_3_0/source/lib/ldb/modules/asq.c 2006-11-25 16:39:34 UTC (rev 19891)
@@ -187,7 +187,9 @@
goto error;
}
- ac = talloc_get_type(context, struct asq_context);
+ if (!(ac = talloc_get_type(context, struct asq_context))) {
+ goto error;
+ }
/* we are interested only in the single reply (base search) we receive here */
if (ares->type == LDB_REPLY_ENTRY) {
More information about the samba-cvs
mailing list