gs: fix dangleing pointer crash with "lock" (ghostscript Bug 697204)
This commit is contained in:
parent
59ed389a6e
commit
9b2d3ed37a
1 changed files with 1 additions and 0 deletions
|
@ -953,6 +953,7 @@ zlock(i_ctx_t *i_ctx_p)
|
||||||
return_error(e_VMerror);
|
return_error(e_VMerror);
|
||||||
plock->holder_index = 0;
|
plock->holder_index = 0;
|
||||||
plock->waiting.head_index = plock->waiting.tail_index = 0;
|
plock->waiting.head_index = plock->waiting.tail_index = 0;
|
||||||
|
plock->scheduler = NULL;
|
||||||
push(1);
|
push(1);
|
||||||
make_istruct(op, a_all, plock);
|
make_istruct(op, a_all, plock);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue