From 734a154eef9a11d13650e03ed8ae126304fc7dbf Mon Sep 17 00:00:00 2001 From: Joshua Colp <jcolp@digium.com> Date: Mon, 20 May 2013 14:02:37 +0000 Subject: [PATCH] In Sorcery pass the name of the object being allocated to the allocator. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@389204 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/sorcery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/sorcery.c b/main/sorcery.c index aa48222dd9..99e4c55869 100644 --- a/main/sorcery.c +++ b/main/sorcery.c @@ -983,7 +983,7 @@ void *ast_sorcery_alloc(const struct ast_sorcery *sorcery, const char *type, con struct ast_sorcery_object_details *details; if (!object_type || !object_type->type.item_alloc || - !(details = object_type->type.item_alloc(""))) { + !(details = object_type->type.item_alloc(id))) { return NULL; } -- GitLab