Trying a new way of freeing the memory for the CLN objects.
Using CLN's object sharing to prevent memory leaks.