fix slot leaks

also moe errot gandking
This commit is contained in:
Vítor Santos Costa
2015-10-09 10:31:07 +01:00
parent d5c21324a4
commit bc2dabbca5
4 changed files with 37 additions and 11 deletions

View File

@@ -1048,7 +1048,7 @@ Term Yap_Parse(UInt prio) {
CACHE_REGS
Volatile Term t;
JMPBUFF FailBuff;
yhandle_t sls = Yap_CurrentSlot(PASS_REGS1);
yhandle_t sls = Yap_StartSlots();
if (!sigsetjmp(FailBuff.JmpBuff, 0)) {