Commit 7fda8c6a authored by Karl Heyes's avatar Karl Heyes

infinite loop/memory leak fix for private streams when yp is enabled

svn path=/trunk/icecast/; revision=5019
parent 8d79bc74
...@@ -141,6 +141,7 @@ int yp_touch() ...@@ -141,6 +141,7 @@ int yp_touch()
source = (source_t *)node->key; source = (source_t *)node->key;
current_time = time(NULL); current_time = time(NULL);
if (!source->yp_public) { if (!source->yp_public) {
node = avl_get_next(node);
continue; continue;
} }
for (i=0; i<source->num_yp_directories; i++) { for (i=0; i<source->num_yp_directories; i++) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment