diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-06 14:02:19 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-06 14:02:19 +0000 |
commit | 218ae9506520bb21104a59b62d9a6d57e4da5569 (patch) | |
tree | 5f486e03cbabb8106885382780ced7211b05d3e6 /pbx/pbx_config.c | |
parent | f229a1fc568bf2de4fef690dc56e553af01bb17e (diff) |
use FREE instead of free as pointer to the destructor function.
This way the MALLOC_DEBUG code will always get the correct argument.
(bug introduced in SVN15818)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17824 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx/pbx_config.c')
-rw-r--r-- | pbx/pbx_config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c index 68429f53a..15c554e3d 100644 --- a/pbx/pbx_config.c +++ b/pbx/pbx_config.c @@ -1468,7 +1468,7 @@ static int pbx_load_module(void) if (!strcmp(realext, "_.")) ast_log(LOG_WARNING, "The use of '_.' for an extension is strongly discouraged and can have unexpected behavior. Please use '_X.' instead at line %d\n", v->lineno); } - if (ast_add_extension2(con, 0, realext, ipri, label, cidmatch, appl, strdup(data), free, registrar)) { + if (ast_add_extension2(con, 0, realext, ipri, label, cidmatch, appl, strdup(data), FREE, registrar)) { ast_log(LOG_WARNING, "Unable to register extension at line %d\n", v->lineno); } } |