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

prevent minor memory leak, not usually triggered

svn path=/icecast/trunk/icecast/; revision=15318
parent 72f8944c
......@@ -299,8 +299,9 @@ static void *fserv_thread_function(void *arg)
client_tree_changed = 1;
continue;
}
client_set_queue (client, refbuf->next);
refbuf = client->refbuf;
refbuf = refbuf->next;
refbuf_release (client->refbuf);
client->refbuf = refbuf;
bytes = refbuf->len;
}
refbuf->len = (unsigned int)bytes;
......
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