summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2013-05-20 14:02:37 +0000
committerJoshua Colp <jcolp@digium.com>2013-05-20 14:02:37 +0000
commit734a154eef9a11d13650e03ed8ae126304fc7dbf (patch)
tree30413fff19af09fb4a424dc984c978c08ddcb5d2
parenteb06c505f4bfb13e135a377b3e85c4f022851a2d (diff)
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
-rw-r--r--main/sorcery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/sorcery.c b/main/sorcery.c
index aa48222dd..99e4c5586 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;
}