FreeRDP/winpr/libwinpr/utils/collections
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
..
ArrayList.c libfreerdp-core: expose new API to allow FreeRDS virtual channel hooking 2014-10-10 16:11:42 -04:00
BipBuffer.c libfreerdp-codec: add support for 1bpp image copy 2015-03-16 13:27:27 -04:00
BitStream.c Fix: misc compiler warnings 2014-09-12 00:36:29 +02:00
BufferPool.c winpr: add checks for *alloc 2015-04-08 11:34:37 +02:00
CountdownEvent.c Fix unchecked CreateEvent calls and misc fixes 2015-04-29 18:18:39 +02:00
Dictionary.c libwinpr-utils/collections: stubbed more classes 2012-12-05 19:36:45 -05:00
HashTable.c xfreerdp: fix egfx multimonitor support 2015-02-10 16:32:07 -05:00
KeyValuePair.c winpr: add checks for *alloc 2015-04-08 11:34:37 +02:00
LinkedList.c winpr-utils: fix problem in LinkedList enumerator 2014-09-24 12:31:52 +02:00
ListDictionary.c winpr: add checks for *alloc 2015-04-08 11:34:37 +02:00
MessagePipe.c Updated MessagePipe to new MessageQueue API. 2013-11-12 15:11:39 +01:00
MessageQueue.c winpr: small fixes and cleanups 2015-04-08 11:34:37 +02:00
ObjectPool.c ObjectPool: fix regression 2015-04-14 13:47:23 +02:00
PubSub.c Integrate feedback from pull request (#2492) 2015-03-25 17:38:21 +01:00
Queue.c Fixes for queue and stack 2014-04-18 16:27:51 +02:00
Reference.c winpr: add checks for *alloc 2015-04-08 11:34:37 +02:00
Stack.c libwinpr: fix incorrect usage of realloc. 2015-03-11 14:59:56 +08:00
StreamPool.c winpr: add checks for *alloc 2015-04-08 11:34:37 +02:00