1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-09-22 04:15:54 -04:00

prevent minor memory leak, not usually triggered

svn path=/icecast/trunk/icecast/; revision=15318
This commit is contained in:
Karl Heyes 2008-09-19 00:23:16 +00:00
parent 72f8944c90
commit 7b9b682a94

View File

@ -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;