Merged revisions 96102 via svnmerge from
[asterisk/asterisk.git] / apps / app_queue.c
index b258608..472e211 100644 (file)
@@ -4900,6 +4900,7 @@ static int reload_queues(int reload)
                                for (var = ast_variable_browse(cfg, cat); var; var = var->next) {
                                        if (!strcasecmp(var->name, "member")) {
                                                struct member tmpmem;
                                for (var = ast_variable_browse(cfg, cat); var; var = var->next) {
                                        if (!strcasecmp(var->name, "member")) {
                                                struct member tmpmem;
+                                               membername = NULL;
 
                                                /* Add a new member */
                                                ast_copy_string(parse, var->value, sizeof(parse));
 
                                                /* Add a new member */
                                                ast_copy_string(parse, var->value, sizeof(parse));