mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-01-03 14:56:34 -05:00
passed pointer could be NULL
svn path=/icecast/trunk/icecast/; revision=7615
This commit is contained in:
parent
1fe2325479
commit
079c759e6d
@ -146,7 +146,8 @@ void client_set_queue (client_t *client, refbuf_t *refbuf)
|
|||||||
refbuf_t *to_release = client->refbuf;
|
refbuf_t *to_release = client->refbuf;
|
||||||
|
|
||||||
client->refbuf = refbuf;
|
client->refbuf = refbuf;
|
||||||
refbuf_addref (client->refbuf);
|
if (refbuf)
|
||||||
|
refbuf_addref (client->refbuf);
|
||||||
client->pos = 0;
|
client->pos = 0;
|
||||||
if (to_release)
|
if (to_release)
|
||||||
refbuf_release (to_release);
|
refbuf_release (to_release);
|
||||||
|
Loading…
Reference in New Issue
Block a user