Changeset 356


Ignore:
Timestamp:
01/23/12 09:15:15 (2 years ago)
Author:
jkaluza
Message:

Fixed potential bad-free

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/logrotate.c

    r355 r356  
    624624            close(fdcurr); 
    625625#ifdef WITH_ACL 
    626                 if (prev_acl) 
     626                if (prev_acl) { 
    627627                        acl_free(prev_acl); 
     628                        prev_acl = NULL; 
     629                } 
    628630#endif /* WITH_ACL */ 
    629631            return 1; 
Note: See TracChangeset for help on using the changeset viewer.