[Sorry chromatic, forgot to send to the list]

> Did you happen to catch which PMC it is that's leaking?

I don't know which PMC, but the leak happens when you create a
PMCProxy with init_pmc.

> Also, is this with PIR or PBC or both?

Both.

> Do you have a short test case that Valgrind catches?

I did not test it with Valgrind (I'm not sure how to use it), but I
see increasing memory usage in the task manager.

.sub _ :main
loop:
   $P0 = new 'Integer'
   $P0 = 27
   $P1 = new 'PMCProxy', $P0
   goto loop
.end

And a more general test that causes a PMCProxy creation, thus a leak:

.HLL 'Foo', ''

.sub _ :main
loop:
   $P0 = new 'Float'
   goto loop
.end

Reply via email to