FreeRDP/FreeRDP — Issue #445: Completion of error handling
Author: elfring
Created: 2012-02-20 21:39:02+00:00
State: open

I have looked at a few source files for your current software. I have noticed that some checks for return codes are missing.

Would you like to add more error handling for return values from functions like the following?
- [pthread_mutex_init](http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_mutex_init.html "initialise a mutex") ⇒ [xf_event_queue_new](https://github.com/FreeRDP/FreeRDP/blob/151182cbc8b78477b5a0501af5b19c21871b7870/server/X11/xf_event.c#L175)
- [pthread_mutex_lock](http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_mutex_lock.html "lock a mutex") ⇒ [xf_snapshot](https://github.com/FreeRDP/FreeRDP/blob/772ca6f99d91b0fa92db87c4a136ba56b7188655/server/X11/xf_encode.c#L24)