(closes issue #10987, reported by andrew)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@85852
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
if (loc) {
*loc++ = '\0';
} else {
- free(sc);
return NULL;
}
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;
}
}
AST_LIST_UNLOCK(&queues);
- free(sc);
-
return NULL;
}