diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/astobj2.c | 2 | ||||
-rw-r--r-- | main/utils.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/main/astobj2.c b/main/astobj2.c index 81a3982f1..78c4cc00f 100644 --- a/main/astobj2.c +++ b/main/astobj2.c @@ -358,7 +358,7 @@ void *__ao2_alloc_debug(size_t data_size, ao2_destructor_fn destructor_fn, char void *__ao2_alloc(size_t data_size, ao2_destructor_fn destructor_fn) { - return internal_ao2_alloc(data_size, destructor_fn, NULL, 0, NULL); + return internal_ao2_alloc(data_size, destructor_fn, __FILE__, __LINE__, __FUNCTION__); } diff --git a/main/utils.c b/main/utils.c index 6709e02d1..106667c3a 100644 --- a/main/utils.c +++ b/main/utils.c @@ -1605,7 +1605,7 @@ ast_string_field __ast_string_field_alloc_space(struct ast_string_field_mgr *mgr if (add_string_pool(mgr, pool_head, new_size, mgr->owner_file, mgr->owner_line, mgr->owner_func)) return NULL; #else - if (add_string_pool(mgr, pool_head, new_size, NULL, 0, NULL)) + if (add_string_pool(mgr, pool_head, new_size, __FILE__, __LINE__, __FUNCTION__)) return NULL; #endif } |