make sure we release streams lock!!
This commit is contained in:
parent
4d132d278c
commit
c1b977b901
@ -616,8 +616,10 @@ static Int cont_stream_property(USES_REGS1) { /* current_stream */
|
||||
} else {
|
||||
while (GLOBAL_Stream[i].status & Free_Stream_f) {
|
||||
++i;
|
||||
if (i == MaxStreams)
|
||||
cut_fail();
|
||||
if (i == MaxStreams) {
|
||||
UNLOCK(GLOBAL_StreamDescLock);
|
||||
cut_fail();
|
||||
}
|
||||
}
|
||||
LOCK(GLOBAL_Stream[i].streamlock);
|
||||
UNLOCK(GLOBAL_StreamDescLock);
|
||||
|
Reference in New Issue
Block a user