Fix improper memory usage in PTCP_Destroy()