summaryrefslogtreecommitdiff
path: root/apps/app_queue.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2007-09-17 18:57:56 +0000
committerRussell Bryant <russell@russellbryant.com>2007-09-17 18:57:56 +0000
commit9388173f85a67d0813850072a0455e08e57a2353 (patch)
tree501e2d1eb1bf1530614bd70aa8087849cc1da650 /apps/app_queue.c
parent13183a8f99dccab5646038204760965b5558c77a (diff)
Make the MALLOC_DEBUG output for free() useful again. After changing calls to
free to be ast_free, astmm said all calls to free were coming from utils.h git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82628 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r--apps/app_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 6ec2dd1d7..ee40bf40c 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -4979,7 +4979,7 @@ static int load_module(void)
if (!con)
ast_log(LOG_ERROR, "Queue virtual context 'app_queue_gosub_virtual_context' does not exist and unable to create\n");
else
- ast_add_extension2(con, 1, "s", 1, NULL, NULL, "KeepAlive", ast_strdup(""), ast_free, "app_queue");
+ ast_add_extension2(con, 1, "s", 1, NULL, NULL, "KeepAlive", ast_strdup(""), ast_free_ptr, "app_queue");
if (queue_persistent_members)
reload_queue_members();