bb8eab24da
- pkey gets deleted by the pkey_deleter but the caller tries to serialize it which causes errors as the memory is freed