This patch corrects a number of issues found by the MSVC static analyzer.
Created attachment 239484 [details] Patch
Created attachment 239485 [details] Patch
Committed r174470: <http://trac.webkit.org/changeset/174470>