summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-06-20 01:08:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:18:51 -0500
commit6d5a7494df01ec7561d712d49c467c634b9666df (patch)
tree735892f06353dc4d304c4c1a8585c87b15c38e72 /source3
parent684dd7f2cf7af20e700167356abc77ad2bc38729 (diff)
downloadsamba-6d5a7494df01ec7561d712d49c467c634b9666df.tar.gz
samba-6d5a7494df01ec7561d712d49c467c634b9666df.tar.bz2
samba-6d5a7494df01ec7561d712d49c467c634b9666df.zip
r16386: Klockwork #lots. Ensure talloc_get_type_abort aborts
if handed a NULL pointer, not returns NULL. Jeremy. (This used to be commit d47ec4dc25bffa6f605c0f6fa1d9c046dbc520a7)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/util.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index d705901244..a1efecfbbb 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -2845,9 +2845,6 @@ void *talloc_check_name_abort(const void *ptr, const char *name)
{
void *result;
- if (ptr == NULL)
- return NULL;
-
result = talloc_check_name(ptr, name);
if (result != NULL)
return result;