j
k
j a
j l
I don't know if that's what causing the memory leak, but your first variant is wrong because it doesn't set the subtype of ITEM(a)[x]. The svalues allocated with extra_size are not initialized at all, so you need to set all the fields.
Back to the thread
Back to the list