Fix an uninitialized value in the http reader.
authorTimothy B. Terriberry <tterribe@xiph.org>
Sun, 23 Sep 2012 01:11:35 +0000 (18:11 -0700)
committerTimothy B. Terriberry <tterribe@xiph.org>
Sun, 23 Sep 2012 01:11:35 +0000 (18:11 -0700)
src/http.c

index 713c916..7638970 100644 (file)
@@ -513,8 +513,9 @@ static void op_http_stream_init(OpusHTTPStream *_stream){
     *pnext=_stream->conns+ci;
     pnext=&_stream->conns[ci].next;
   }
-  op_parsed_url_init(&_stream->url);
   _stream->ssl_ctx=NULL;
+  _stream->lru_head=NULL;
+  op_parsed_url_init(&_stream->url);
   op_sb_init(&_stream->request);
   _stream->seekable=0;
 }