37e0121 CLEANALLRUV coverity fixes

Authored and Committed by mreynolds 11 years ago
    CLEANALLRUV coverity fixes
    
    There was code that allowed for a static buffer overflow(CLEANRIDSIZ) in a few places,
    but there are previous checks that make this impossible to over run.
    
    A small potential memory leak was also fixed.
    
    Reviewed by: Noriko(Thanks!)