[asterisk-commits] bweschke: branch bweschke/patch-M9238 r81648 - /team/bweschke/patch-M9238/main/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Sep 6 06:21:45 CDT 2007
Author: bweschke
Date: Thu Sep 6 06:21:45 2007
New Revision: 81648
URL: http://svn.digium.com/view/asterisk?view=rev&rev=81648
Log:
Revert, re-do on issue #9238.
Modified:
team/bweschke/patch-M9238/main/manager.c
Modified: team/bweschke/patch-M9238/main/manager.c
URL: http://svn.digium.com/view/asterisk/team/bweschke/patch-M9238/main/manager.c?view=diff&rev=81648&r1=81647&r2=81648
==============================================================================
--- team/bweschke/patch-M9238/main/manager.c (original)
+++ team/bweschke/patch-M9238/main/manager.c Thu Sep 6 06:21:45 2007
@@ -682,17 +682,11 @@
static void destroy_session(struct mansession *s)
{
AST_LIST_LOCK(&sessions);
- struct eventqent *eqe;
- while ((s->eventq)&&(s->eventq->next)) {
- eqe = s->eventq->next;
- unuse_eventqent(s->eventq);
- s->eventq = eqe;
- };
AST_LIST_REMOVE(&sessions, s, list);
+ free_session(s);
AST_LIST_UNLOCK(&sessions);
ast_atomic_fetchadd_int(&num_sessions, -1);
- free_session(s);
}
const char *astman_get_header(const struct message *m, char *var)
More information about the asterisk-commits
mailing list