svn commit: samba r19890 - in branches/SAMBA_3_0/source/lib/ldb/modules: .

vlendec at samba.org vlendec at samba.org
Sat Nov 25 16:38:24 GMT 2006


Author: vlendec
Date: 2006-11-25 16:38:23 +0000 (Sat, 25 Nov 2006)
New Revision: 19890

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19890

Log:
Fix klokwork ID 2188
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:35:22 UTC (rev 19889)
+++ branches/SAMBA_3_0/source/lib/ldb/modules/asq.c	2006-11-25 16:38:23 UTC (rev 19890)
@@ -161,7 +161,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