[pypy-dev] pypy callback function pointer become invalid

Maciej Fijalkowski fijall at gmail.com
Sat Aug 15 18:24:40 CEST 2015


On Sat, Aug 15, 2015 at 4:09 PM, Armin Rigo <arigo at tunes.org> wrote:
> Hi Yicong,
>
> On 11 August 2015 at 14:38, Yicong Huang <hengha.mao at gmail.com> wrote:
>>        pypy_execute_source_ptr(pyBuffer, &ptr);
>
> The documentation recommends to call pypy_execute_source_ptr() only
> once.  I've fixed anyway the particular problem you are encountering
> when calling it multiple times, in 20f74886a28e.
>
>
> A bientôt,
>
> Armin.

Note that if you execute it many many times, you will leak memory.


More information about the pypy-dev mailing list