Fix freeing of RDP events during dispose

https://retrace.fedoraproject.org/faf2/problems/459789/