ea01c96 Ticket 47969 - Fix coverity issue

Authored and Committed by mreynolds 9 years ago
    Ticket 47969 - Fix coverity issue
    
    Description: Fix coverity issue 12948 & 12949 (NULL pointer dereference)
    
    https://fedorahosted.org/389/ticket/47969
    
    Reviewed by: mreynolds
    
    (cherry picked from commit 1553b665bfecbbccd54c439442d9a22c5d35d4a1)