free(tmp);
break; } tmpl = tmp; tmp = tmp->next; } if (tmp) res = 0;
ast_mutex_unlock(&msglist_lock);
return res; }