[Xorp-hackers] auto_ptr<Xrl*> patch committed, r11597
Bruce Simpson
bms at incunabulum.net
Thu Nov 26 18:57:12 PST 2009
Bruce Simpson wrote:
> The attached patch changes the allocation semantics of the cached Xrl
> pointer to be per-client-instance rather than per-library-instance.
The patch for auto_ptr<Xrl*> in the original thread has been committed
as r11597.
This resolves the memory leak and non-reentrancy in XRL client stub
classes, but may have a small performance penalty if the client is
repeatedly re-instantiated. This is specific to XRL as currently
implemented.
More information about the Xorp-hackers
mailing list