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
changes/78/78/1
Joshua Colp 12 years ago
parent eb06c505f4
commit 734a154eef

@ -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;
}

Loading…
Cancel
Save