diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-04 19:44:31 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-04 19:44:31 +0000 |
commit | 5c6adf795186488242234de78a42203c1c49d754 (patch) | |
tree | ca36983ad0ee93f94baacb09051acae3d36527c3 /res/res_features.c | |
parent | 69e206ffb4cc10cf3397d357418b716563624aa4 (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 'res/res_features.c')
-rw-r--r-- | res/res_features.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_features.c b/res/res_features.c index e32a23c69..3e47f2e57 100644 --- a/res/res_features.c +++ b/res/res_features.c @@ -1272,11 +1272,11 @@ static void ast_unregister_groups(void) AST_RWLIST_WRLOCK(&feature_groups); while ((fg = AST_LIST_REMOVE_HEAD(&feature_groups, entry))) { while ((fge = AST_LIST_REMOVE_HEAD(&fg->features, entry))) { - ast_string_field_free_all(fge); + ast_string_field_free_memory(fge); ast_free(fge); } - ast_string_field_free_all(fg); + ast_string_field_free_memory(fg); ast_free(fg); } AST_RWLIST_UNLOCK(&feature_groups); |