Re using rust iterator S w ref counting

The match iterator does a ref++ followed by a ref-- at the end of an iteration 
which guarantees that the header and MINMEM tag data exist for each iteration.

Do an additional ref++ using *Link() if you want to make a header persistent 
for further processing outside of an iteration (but don't forget the ref-- 
using *Free() or you will have a huge memory leak ;-)

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
Rpm-maint mailing list

Reply via email to