sec-rdp: fixed cleanup in key error case