From 12ba88574bf91bdcc4447bfc3d429b799064bfd9 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 27 Apr 2007 23:18:41 +0000 Subject: r22542: Move over to using the _strict varients of the talloc calls. No functional changes. Looks bigger than it is :-). Jeremy. (This used to be commit f6fa3080fee1b20df9f1968500840a88cf0ee592) --- source3/lib/data_blob.c | 2 +- source3/lib/launchd.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/lib') diff --git a/source3/lib/data_blob.c b/source3/lib/data_blob.c index c7eadc1acf..e07247bc49 100644 --- a/source3/lib/data_blob.c +++ b/source3/lib/data_blob.c @@ -72,7 +72,7 @@ DATA_BLOB data_blob_talloc(TALLOC_CTX *mem_ctx, const void *p, size_t length) if (p) { ret.data = (uint8 *)TALLOC_MEMDUP(mem_ctx, p, length); if (ret.data == NULL) - smb_panic("data_blob_talloc: talloc_memdup failed.\n"); + smb_panic("data_blob_talloc: TALLOC_MEMDUP failed.\n"); } else { ret.data = (uint8 *)TALLOC(mem_ctx, length); if (ret.data == NULL) diff --git a/source3/lib/launchd.c b/source3/lib/launchd.c index 1fd5a33db0..2c3f7cac89 100644 --- a/source3/lib/launchd.c +++ b/source3/lib/launchd.c @@ -138,7 +138,7 @@ static void pull_launch_sockets(launch_data_t key, count, launch_data_dict_get_count(item))); } - linfo->socket_list = talloc_array(NULL, int, count); + linfo->socket_list = TALLOC_ARRAY(NULL, int, count); if (linfo->socket_list == NULL) { goto done; } @@ -200,7 +200,7 @@ done: linfo->num_sockets)); count = linfo->num_sockets; - linfo->socket_list = talloc_array(NULL, int, count); + linfo->socket_list = TALLOC_ARRAY(NULL, int, count); if (linfo->socket_list == NULL) { goto done; } -- cgit