8dcd430 Fix errors found by coverity

Authored and Committed by dwalsh 10 years ago
    Fix errors found by coverity
    
        
file modified
+22 -15
file modified
+4 -1