Merge pull request #1119 from C-o-r-E/master

wfreerdp-server: fixed a problem where the mirror driver was not properly unloaded
fix some memory leaks on iOS
Merge pull request #1121 from florianholzapfel/master

fix for some memory leaks on the iOS client
include/winpr/synch.h: add missing extern C decl.
Merge remote-tracking branch 'upstream/master'