FreeRDP/client
Norbert Federa ef1fd12b15 Fix unchecked CreateEvent calls and misc fixes
1)
Added missing checks for CreateEvent which also required the
following related changes:

- changed freerdp_context_new API to BOOL
- changed freerdp_peer_context_new API to BOOL
- changed pRdpClientNew callback to BOOL
- changed pContextNew callback to BOOL
- changed psPeerAccepted callback to BOOL
- changed psPeerContextNew callback to BOOL

2)
Fixed lots of missing alloc and error checks in the
changed code's neighbourhood.

3)
Check freerdp_client_codecs_prepare result to avoid segfaults
caused by using non-initialized codecs.

4)
Fixed deadlocks in x11 caused by missing xf_unlock_x11() calls
in some error handlers

5)
Some fixes in thread pool:
- DEFAULT_POOL assignment did not match TP_POOL definition
- don't free the pool pointer if it points to the static DEFAULT_POOL
- added error handling and cleanup in InitializeThreadpool
2015-04-29 18:18:39 +02:00
..
Android Fix unchecked CreateEvent calls and misc fixes 2015-04-29 18:18:39 +02:00
common Fix unchecked CreateEvent calls and misc fixes 2015-04-29 18:18:39 +02:00
DirectFB Fix unchecked CreateEvent calls and misc fixes 2015-04-29 18:18:39 +02:00
iOS change return types of callbacks to BOOL 2015-04-21 14:18:07 +02:00
Mac change return types of callbacks to BOOL 2015-04-21 14:18:07 +02:00
Sample Fix unchecked CreateEvent calls and misc fixes 2015-04-29 18:18:39 +02:00
Wayland Fix unchecked CreateEvent calls and misc fixes 2015-04-29 18:18:39 +02:00
Windows Fix unchecked CreateEvent calls and misc fixes 2015-04-29 18:18:39 +02:00
X11 Fix unchecked CreateEvent calls and misc fixes 2015-04-29 18:18:39 +02:00
.gitignore freerdp: remove vendor-specific options from build system, add automatic ways of including external clients/servers 2013-09-03 20:37:04 -04:00
CMakeLists.txt build: cmake 3.1 compatibility 2014-12-12 19:26:22 +01:00