Index: apps/app_queue.c =================================================================== --- apps/app_queue.c (revision 85850) +++ apps/app_queue.c (working copy) @@ -543,7 +543,6 @@ if (loc) { *loc++ = '\0'; } else { - free(sc); return NULL; } @@ -564,7 +563,6 @@ if (!curint) { if (option_debug > 2) ast_log(LOG_DEBUG, "Device '%s/%s' changed to state '%d' (%s) but we don't care because they're not a member of any queue.\n", technology, loc, sc->state, devstate2str(sc->state)); - free(sc); return NULL; } @@ -613,8 +611,6 @@ } AST_LIST_UNLOCK(&queues); - free(sc); - return NULL; }