From: Tilghman Lesher Date: Fri, 15 Aug 2008 19:36:11 +0000 (+0000) Subject: Change free to ast_free_ptr, too X-Git-Tag: 1.6.2.0-beta1~1422 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5c673e441cb767b0b7f6a4e42bcc0b309c96560;p=thirdparty%2Fasterisk.git Change free to ast_free_ptr, too git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138148 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/pbx.c b/main/pbx.c index 55b97bcac6..cb9a5bf5fb 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] == '_') {