The runtime pointers are allocated when reading sockets, they have to be freed when the legacy sockets are freed.