From d47ec4dc25bffa6f605c0f6fa1d9c046dbc520a7 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 20 Jun 2006 01:08:57 +0000 Subject: [PATCH] r16386: Klockwork #lots. Ensure talloc_get_type_abort aborts if handed a NULL pointer, not returns NULL. Jeremy. --- source/lib/util.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/source/lib/util.c b/source/lib/util.c index d705901244a..a1efecfbbba 100644 --- a/source/lib/util.c +++ b/source/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; -- 2.11.4.GIT