From: David Vossel Date: Tue, 22 Mar 2011 15:24:45 +0000 (+0000) Subject: Fixes memory leak in MeetMe AMI action X-Git-Tag: 1.6.2.19-rc1~3^2~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c781e4622505577945807c2e9c845e6bb96f62e7;p=thirdparty%2Fasterisk.git Fixes memory leak in MeetMe AMI action git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@311496 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_meetme.c b/apps/app_meetme.c index 647b3af6b9..6bf0e7a938 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -4491,12 +4491,12 @@ static int action_meetmelist(struct mansession *s, const struct message *m) /* Find the right conference */ AST_LIST_LOCK(&confs); AST_LIST_TRAVERSE(&confs, cnf, list) { - user_iter = ao2_iterator_init(cnf->usercontainer, 0); /* If we ask for one particular, and this isn't it, skip it */ if (!ast_strlen_zero(conference) && strcmp(cnf->confno, conference)) continue; /* Show all the users */ + user_iter = ao2_iterator_init(cnf->usercontainer, 0); while ((user = ao2_iterator_next(&user_iter))) { total++; astman_append(s,