*fixed a crash bug when using an iterator in a conditional expression.
This commit is contained in:
parent
685d352a55
commit
3eff55c2aa
3
HISTORY
3
HISTORY
@ -1,3 +1,6 @@
|
|||||||
|
Nov. 5 2018
|
||||||
|
Fixed a crash bug when using an iterator in a conditional expression
|
||||||
|
|
||||||
Jul. 30 2018
|
Jul. 30 2018
|
||||||
Fixed a crash bug with incomplete structures
|
Fixed a crash bug with incomplete structures
|
||||||
|
|
||||||
|
@ -15827,9 +15827,22 @@ _exit:
|
|||||||
|
|
||||||
*l = ast;
|
*l = ast;
|
||||||
|
|
||||||
if(val->type != _DT_UNKNOWN)
|
switch(val->type) {
|
||||||
|
#ifdef MB_ENABLE_COLLECTION_LIB
|
||||||
|
case _DT_LIST_IT: /* Fall through */
|
||||||
|
case _DT_DICT_IT:
|
||||||
|
_destroy_object_capsule_only(val, 0);
|
||||||
|
|
||||||
|
break;
|
||||||
|
#endif /* MB_ENABLE_COLLECTION_LIB */
|
||||||
|
case _DT_UNKNOWN: /* Do nothing */
|
||||||
|
break;
|
||||||
|
default:
|
||||||
_destroy_object(val, 0);
|
_destroy_object(val, 0);
|
||||||
|
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user