av_push calls av_store, which takes ownership of a refcount, so no, no memory leak.
You can confirm this using use Devel::Peek; Dump($eaArray[0]);. It should have a REFCNT of 1.
In reply to Re: perl XS - suspected memory leak
by ikegami
in thread perl XS - suspected memory leak (works)
by kopolov
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |