FreeRDP/FreeRDP — pull request #594 by littlejawa (2012-05-16 13:41:28+00:00)
Title: Static code review

Ran a static analyser on the FreeRDP code.
Filtered out false positives, and tried to fix most obvious issues.

I realize that this represents a lot of small, unrelated changes. I was not sure whether you want to review them separately (with more "in context" information), or grouped as it is here... Tell me if you want me to submit the changes in a different form for easier triage/merging.