aboutsummaryrefslogtreecommitdiffstats
path: root/main/pbx.c
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-04 19:44:31 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-04 19:44:31 +0000
commit5c6adf795186488242234de78a42203c1c49d754 (patch)
treeca36983ad0ee93f94baacb09051acae3d36527c3 /main/pbx.c
parent69e206ffb4cc10cf3397d357418b716563624aa4 (diff)
Simplify the implementation and the API for stringfields;
details and examples are in include/asterisk/stringfields.h. Not applicable to older branches except for 1.4 which will receive a fix for the routines that free memory pools. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88454 f38db490-d61c-443f-a65b-d21fe96a405b
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 54e464cbe..71190ae9a 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -1289,7 +1289,7 @@ void pbx_retrieve_variable(struct ast_channel *c, const char *var, char **ret, c
static void exception_store_free(void *data)
{
struct pbx_exception *exception = data;
- ast_string_field_free_pools(exception);
+ ast_string_field_free_memory(exception);
ast_free(exception);
}