summaryrefslogtreecommitdiff
path: root/main/pbx.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2008-08-15 19:36:11 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2008-08-15 19:36:11 +0000
commitd5c673e441cb767b0b7f6a4e42bcc0b309c96560 (patch)
treeaa0f1a7f9298803e222296a650eea509205e7817 /main/pbx.c
parentaf69ec03ed780643b060e072f72c279daddf5121 (diff)
Change free to ast_free_ptr, too
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138148 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/pbx.c')
-rw-r--r--main/pbx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/pbx.c b/main/pbx.c
index 55b97bcac..cb9a5bf5f 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -3391,7 +3391,7 @@ int ast_extension_state_add(const char *context, const char *exten,
*/
if (e->exten[0] == '_') {
ast_add_extension(e->parent->name, 0, exten, e->priority, e->label,
- e->cidmatch, e->app, ast_strdup(e->data), free,
+ e->cidmatch, e->app, ast_strdup(e->data), ast_free_ptr,
e->registrar);
e = ast_hint_extension(NULL, context, exten);
if (!e || e->exten[0] == '_') {