Fixing memory leak using CLN's object sharing.