29 Apr
2008
29 Apr
'08
1:20 p.m.
Jonathan Sauer wrote:
Ah, now I understand: node.hpack creates a new node list that *contains* the original node list.
Maybe this could be noted in the manual: "Note that the new hlist still references the original node list, so if one wishes to only free the new hlist, the following code must be used to avoid deallocating the original list as well:
Still planned: a conversion from the current explicit node (de)allocation system to automatic garbage collection. Until then, a remark in the manual is a good idea. Best wishes, Taco