xfreerdp: fix xfi lifecycle and other crashers
Merge pull request #1193 from zeha/fix-xfreerdp-crashes

xfreerdp: fix xfi lifecycle and other crashers