Garbage collection now much better, not good
There's clearly still a lot of things getting incremented but not decremented.
This commit is contained in:
parent
ad806de656
commit
7b126ea979
7 changed files with 39 additions and 6 deletions
|
|
@ -128,8 +128,11 @@ bind( struct cons_pointer key, struct cons_pointer value,
|
|||
struct cons_pointer
|
||||
deep_bind( struct cons_pointer key, struct cons_pointer value ) {
|
||||
debug_print( L"Entering deep_bind\n", DEBUG_BIND );
|
||||
struct cons_pointer old = oblist;
|
||||
|
||||
oblist = bind( key, value, oblist );
|
||||
inc_ref(oblist);
|
||||
dec_ref(old);
|
||||
|
||||
debug_print( L"Leaving deep_bind\n", DEBUG_BIND );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue