24c7896 Ticket 48398 - Coverity defect 13352 - Resource leak in auditlog.c

Authored and Committed by William Brown 8 years ago
    Ticket 48398 - Coverity defect 13352 - Resource leak in auditlog.c
    
    Bug Description:   config_get_auditfaillog allocates a char* ptr and returns it.
      This if statement doesn't free that.
    
    Fix Description:  Create a new char* variable to allocate the result of
    config_get_auditfaillog into, and then ensure we free it after we are done.
    
    https://fedorahosted.org/389/ticket/48398
    
    Author: wibrown
    
    Review by: mreynolds (Thanks!)