Changeset 1700 for zzuf


Ignore:
Timestamp:
Jan 23, 2007, 1:16:50 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Fix minor memory leak.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/src/fd.c

    r1697 r1700  
    166166         * closed properly, there's a leak, but it's not our problem. */
    167167    }
     168
     169#if defined HAVE_REGEX_H
     170    if(has_include)
     171        regfree(&re_include);
     172    if(has_exclude)
     173        regfree(&re_exclude);
     174#endif
    168175
    169176    if(files != static_files)
Note: See TracChangeset for help on using the changeset viewer.