FreeRDP/client/common
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
..
test Fixed uninitialized test argument buffer. 2015-03-23 14:14:38 +01:00
client.c Fix unchecked CreateEvent calls and misc fixes 2015-04-29 18:18:39 +02:00
CMakeLists.txt Necessary changes to get latest branch working on OpenBSD 5.6 2015-04-21 14:42:06 -04:00
cmdline.c Fix regression introduced in 0b7f9d4 2015-04-02 22:53:45 +02:00
compatibility.c freerdp: fix failing tests 2015-03-16 09:26:38 -04:00
compatibility.h freerdp: various missing link dependencies and symbol exports 2013-09-03 21:48:26 -04:00
file.c Added flag to ignore unknown keywords 2015-03-16 10:15:37 +01:00
module.def Removed library prefix on Windows def files. 2014-11-03 12:39:27 +08:00