aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-04 22:38:13 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-04 22:38:13 +0000
commitd01bd3f7ace2fd034e63f6aa884a534450aa4ffd (patch)
tree26e451020d5f848e4df9e7056ef81d24ae8a823d /apps
parentd6199734e23aac123cda4075ad33e575341d46fe (diff)
Rename ast_string_field_free_pool to ast_string_field_free_memory,
and ast_string_field_free_all to ast_string_field_reset_all to avoid misuse (due to too similar names and an error in documentation). Fix two related memory leaks in app_meetme. No need to merge to trunk, different fix already applied there. Not applicable to 1.2 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@88471 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 411e1c349..ef5af4c40 100644
--- a/apps/app_meetme.c
+++ b/apps/app_meetme.c
@@ -4406,7 +4406,7 @@ static void destroy_trunk(struct sla_trunk *trunk)
while ((station_ref = AST_LIST_REMOVE_HEAD(&trunk->stations, entry)))
free(station_ref);
- ast_string_field_free_all(trunk);
+ ast_string_field_free_memory(trunk);
free(trunk);
}
@@ -4432,7 +4432,7 @@ static void destroy_station(struct sla_station *station)
while ((trunk_ref = AST_LIST_REMOVE_HEAD(&station->trunks, entry)))
free(trunk_ref);
- ast_string_field_free_all(station);
+ ast_string_field_free_memory(station);
free(station);
}