diff options
-rw-r--r-- | main/sorcery.c | 2 |
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; } |