*fixed a wrong disposing bug when accessing a collection by brackets.
This commit is contained in:
parent
c8d18f2dda
commit
82ddc8c029
1
HISTORY
1
HISTORY
@ -6,6 +6,7 @@ Fixed some memory leak with lambda
|
||||
Fixed a multiple disposing bug with string expression calculation
|
||||
Improved GC with outer scopes of lambda
|
||||
Fixed some other minor bugs with lambda
|
||||
Fixed a wrong disposing bug when accessing a collection by brackets
|
||||
|
||||
Jan. 11 2016
|
||||
Fixed a crash bug when a DO-UNTIL statement is the end of a program
|
||||
|
@ -3027,13 +3027,10 @@ _routine:
|
||||
|
||||
mb_check(mb_attempt_close_bracket(s, (void**)l));
|
||||
|
||||
_dispose_object(c);
|
||||
c = _create_object();
|
||||
_ls_pushback(garbage, c);
|
||||
_public_value_to_internal_object(&ret, c);
|
||||
|
||||
mb_make_nil(ret);
|
||||
_internal_object_to_public_value(ocoll, &ret);
|
||||
_assign_public_value(&ret, 0);
|
||||
|
||||
ast = (_ls_node_t*)*l;
|
||||
}
|
||||
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user