aboutsummaryrefslogtreecommitdiffstats
path: root/config.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-15 19:42:05 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-15 19:42:05 +0000
commiteb8cdb4741ab9f4e076519c58eb34352c4aa6d25 (patch)
tree4d2015814f11c348d395e8f2e47b3ff51e308845 /config.c
parent4faf0a020109eaa8193ad7e53e04875d7553605c (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
Diffstat (limited to 'config.c')
-rw-r--r--config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.c b/config.c
index 616bb657e..4b3c79bf1 100644
--- a/config.c
+++ b/config.c
@@ -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;
}