Back out improper freeing of variables
authorMark Spencer <markster@digium.com>
Wed, 12 Oct 2005 20:18:13 +0000 (20:18 +0000)
committerMark Spencer <markster@digium.com>
Wed, 12 Oct 2005 20:18:13 +0000 (20:18 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6751 65c4cc65-6c06-0410-ace0-fbb531ad65f3

pbx/pbx_spool.c

index bcb780d..3a9a62c 100755 (executable)
@@ -103,12 +103,6 @@ static void init_outgoing(struct outgoing *o)
 
 static void free_outgoing(struct outgoing *o)
 {
-       struct ast_variable *last;
-       while(o->vars) {
-               last = o->vars;
-               o->vars = o->vars->next;
-               free(last);
-       }
        free(o);
 }