FreeRDP/FreeRDP — pull request #1294 by bmiklautz (2013-06-14 13:43:09+00:00)
Title: winpr: check added if handle is NULL

If you call xfreerdp with invalid arguments, a segfault happens at cleanup, caused by the null-pointer in this line in GetExitCodeThread:
*lpExitCode = thread->dwExitCode;