[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] Compiler memory leak
From: |
Gwenaël Casaccio |
Subject: |
[Help-smalltalk] Compiler memory leak |
Date: |
Tue, 16 Jul 2013 09:43:49 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 |
Hi,
I've found a memory leak in the compiler: there are extra
INC_(SAVE/RESTORE)_POINTER
in compile_block and _gst_make_constant that create a leak.
Once the object is allocated and protected in a context (ie created by
save_pointer)
once leaving the function they should be either protected or added in a
protected object
otherwise they could be GCed
The patch remove those extra INC_(SAVE/RESTORE)_POINTER protection
Gwen
compiler_leak.patch
Description: Text Data
- [Help-smalltalk] Compiler memory leak,
Gwenaël Casaccio <=