03476f2 Bug 697027 - 14 - minor memory leaks found by Valgrind + TET

Authored and Committed by nhosoi 13 years ago
    Bug 697027 - 14 - minor memory leaks found by Valgrind + TET
    
    https://bugzilla.redhat.com/show_bug.cgi?id=697027
    [Case 14]
    Description: 1) Fixing file descriptor leaks in the non-apply cases
    (log_update_error/auditlogdir).
    2) Cleaning up log_error/access/audit_file as well as log_error/
    access/auditinfo_file before assigning a new file name.  Plus,
    changing to use slapi_ch_smprintf instead of strdup a static buffer
    (error/access/audit_log_openf).
    
        
file modified
+14 -13