diff options
Diffstat (limited to 'res/res_sorcery_astdb.c')
-rw-r--r-- | res/res_sorcery_astdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_sorcery_astdb.c b/res/res_sorcery_astdb.c index 65a6a504e..ecea885d0 100644 --- a/res/res_sorcery_astdb.c +++ b/res/res_sorcery_astdb.c @@ -126,7 +126,7 @@ static int sorcery_json_equal(struct ast_json *object, struct ast_json *criteria static int sorcery_astdb_create(const struct ast_sorcery *sorcery, void *data, void *object) { RAII_VAR(struct ast_json *, objset, ast_sorcery_objectset_json_create(sorcery, object), ast_json_unref); - RAII_VAR(char *, value, NULL, ast_free_ptr); + RAII_VAR(char *, value, NULL, ast_json_free); const char *prefix = data; char family[strlen(prefix) + strlen(ast_sorcery_object_get_type(object)) + 2]; |