svn commit: samba r16386 - in branches/SAMBA_3_0/source/lib: .
jra at samba.org
jra at samba.org
Tue Jun 20 01:08:57 GMT 2006
Author: jra
Date: 2006-06-20 01:08:57 +0000 (Tue, 20 Jun 2006)
New Revision: 16386
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16386
Log:
Klockwork #lots. Ensure talloc_get_type_abort aborts
if handed a NULL pointer, not returns NULL.
Jeremy.
Modified:
branches/SAMBA_3_0/source/lib/util.c
Changeset:
Modified: branches/SAMBA_3_0/source/lib/util.c
===================================================================
--- branches/SAMBA_3_0/source/lib/util.c 2006-06-20 01:08:52 UTC (rev 16385)
+++ branches/SAMBA_3_0/source/lib/util.c 2006-06-20 01:08:57 UTC (rev 16386)
@@ -2845,9 +2845,6 @@
{
void *result;
- if (ptr == NULL)
- return NULL;
-
result = talloc_check_name(ptr, name);
if (result != NULL)
return result;
More information about the samba-cvs
mailing list