diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-15 19:42:05 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-15 19:42:05 +0000 |
commit | eb8cdb4741ab9f4e076519c58eb34352c4aa6d25 (patch) | |
tree | 4d2015814f11c348d395e8f2e47b3ff51e308845 | |
parent | 4faf0a020109eaa8193ad7e53e04875d7553605c (diff) |
clear the category's variable tail pointer as well when variables are detached from it
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47686 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | config.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -301,6 +301,7 @@ struct ast_variable *ast_category_detach_variables(struct ast_category *cat) v = cat->root; cat->root = NULL; + cat->last = NULL; return v; } |