Avoid memory leak in .x loader with invalid header
Merging r6947 through r6950 from branch releases/1.8 to trunk
Fix header size check in x mesh loader, backport some cleanup
Harden smf mesh loader
Avoid re-using left-overs from failed load attempt in CB3DMeshFileLoader
Harden 3ds mesh loader
Merging r6944 through r6945 from branch releases/1.8 to trunk
Fix compiling with VS2010