From: Joshua Colp Date: Mon, 20 May 2013 14:02:37 +0000 (+0000) Subject: In Sorcery pass the name of the object being allocated to the allocator. X-Git-Tag: 13.0.0-beta1~1791 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=734a154eef9a11d13650e03ed8ae126304fc7dbf;p=thirdparty%2Fasterisk.git 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 --- 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; }