afd6b1f handle null smods

Authored and Committed by rmeggins 12 years ago
    handle null smods
    
    Under certain error conditions, smods will be NULL at the end of the function.
    Do not call passout if smods is NULL.
    Reviewed by: nhosoi (Thanks!)