svn commit: samba r16385 - in trunk/source/lib: .
jra at samba.org
jra at samba.org
Tue Jun 20 01:08:53 GMT 2006
Author: jra
Date: 2006-06-20 01:08:52 +0000 (Tue, 20 Jun 2006)
New Revision: 16385
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16385
Log:
Klockwork #lots. Ensure talloc_get_type_abort aborts
if handed a NULL pointer, not returns NULL.
Jeremy.
Modified:
trunk/source/lib/util.c
Changeset:
Modified: trunk/source/lib/util.c
===================================================================
--- trunk/source/lib/util.c 2006-06-20 01:08:18 UTC (rev 16384)
+++ trunk/source/lib/util.c 2006-06-20 01:08:52 UTC (rev 16385)
@@ -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