aboutsummaryrefslogtreecommitdiffstats
path: root/apps
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 /apps
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 'apps')
-rw-r--r--apps/app_meetme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c
index bb3c1e9fb..472a33263 100644
--- a/apps/app_meetme.c
+++ b/apps/app_meetme.c
@@ -4872,7 +4872,7 @@ static void destroy_trunk(struct sla_trunk *trunk)
while ((station_ref = AST_LIST_REMOVE_HEAD(&trunk->stations, entry)))
ast_free(station_ref);
- ast_string_field_free_all(trunk);
+ ast_string_field_free_memory(trunk);
ast_free(trunk);
}
@@ -4898,7 +4898,7 @@ static void destroy_station(struct sla_station *station)
while ((trunk_ref = AST_LIST_REMOVE_HEAD(&station->trunks, entry)))
ast_free(trunk_ref);
- ast_string_field_free_all(station);
+ ast_string_field_free_memory(station);
ast_free(station);
}