Fix segfault reported by issue #280 #131 #135 #199 *270

Fix segfault reported by issue #280 #131 #135 #199

Segfault on select shared folder in RDP connection