[xiph-cvs] cvs commit: icecast/src yp.c

Karl Heyes karl at xiph.org
Sun Jun 29 11:12:10 PDT 2003



karl        03/06/29 14:12:09

  Modified:    src      yp.c
  Log:
  infinite loop/memory leak fix for private streams when yp is enabled

Revision  Changes    Path
1.10      +1 -0      icecast/src/yp.c

Index: yp.c
===================================================================
RCS file: /usr/local/cvsroot/icecast/src/yp.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- yp.c	26 Jun 2003 13:33:55 -0000	1.9
+++ yp.c	29 Jun 2003 18:12:09 -0000	1.10
@@ -141,6 +141,7 @@
         source = (source_t *)node->key;
         current_time = time(NULL);
         if (!source->yp_public) {
+            node = avl_get_next(node);
             continue;
         }
         for (i=0; i<source->num_yp_directories; i++) {

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list