d6133b0 Fix potential NULL-dereference

Authored and Committed by sgallagh 11 years ago
    Fix potential NULL-dereference
    
    Coverity #12797