mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-28 15:11:12 +00:00
Back out improper freeing of variables
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -103,12 +103,6 @@ static void init_outgoing(struct outgoing *o)
|
|||||||
|
|
||||||
static void free_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);
|
free(o);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user