mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Merged revisions 121078 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r121078 | russell | 2008-06-07 09:10:56 -0500 (Sat, 07 Jun 2008) | 7 lines Don't run LIST_HEAD_DESTROY on a STATIC list (closes issue #12807) Reported by: ys Patches: chan_agent_local.diff uploaded by ys (license 281) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@121079 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2426,7 +2426,6 @@ static int unload_module(void)
|
||||
ast_free(p);
|
||||
}
|
||||
AST_LIST_UNLOCK(&agents);
|
||||
AST_LIST_HEAD_DESTROY(&agents);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@@ -812,7 +812,6 @@ static int unload_module(void)
|
||||
ast_softhangup(p->owner, AST_SOFTHANGUP_APPUNLOAD);
|
||||
}
|
||||
AST_LIST_UNLOCK(&locals);
|
||||
AST_LIST_HEAD_DESTROY(&locals);
|
||||
} else {
|
||||
ast_log(LOG_WARNING, "Unable to lock the monitor\n");
|
||||
return -1;
|
||||
|
Reference in New Issue
Block a user