aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpbx/pbx_spool.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/pbx/pbx_spool.c b/pbx/pbx_spool.c
index bcb780deb..3a9a62c1f 100755
--- a/pbx/pbx_spool.c
+++ b/pbx/pbx_spool.c
@@ -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);
}