closes issue (#10879, reported by dazza76, patched by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@84692
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
q->context[0] = '\0';
q->monfmt[0] = '\0';
q->periodicannouncefrequency = 0;
- q->members = ao2_container_alloc(37, member_hash_fn, member_cmp_fn);
+ if(!q->members)
+ q->members = ao2_container_alloc(37, member_hash_fn, member_cmp_fn);
q->membercount = 0;
q->found = 1;
ast_copy_string(q->sound_next, "queue-youarenext", sizeof(q->sound_next));