Changeset 433 for trunk/src/samhain.c


Ignore:
Timestamp:
Apr 29, 2013, 7:32:19 PM (12 years ago)
Author:
katerina
Message:

Fix for ticket #338 (steady growth of memory usage).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/samhain.c

    r424 r433  
    20232023          (flag_check_1 == 1 || flag_check_2 == 1))
    20242024        {
    2025           sh.flag.inotify |= SH_INOTIFY_INSCAN;
     2025          SH_INOTIFY_IFUSED( sh.flag.inotify |= SH_INOTIFY_INSCAN; );
    20262026          /* Refresh list files matching glob patterns.
    20272027           */
     
    20882088          flag_check_2 = 0;
    20892089          check_done   = 1;
    2090           sh.flag.inotify &= ~SH_INOTIFY_INSCAN;
    2091           sh.flag.inotify &= ~SH_INOTIFY_DOSCAN;
     2090          SH_INOTIFY_IFUSED( sh.flag.inotify &= ~SH_INOTIFY_INSCAN; );
     2091          SH_INOTIFY_IFUSED( sh.flag.inotify &= ~SH_INOTIFY_DOSCAN; );
    20922092
    20932093          (void) sh_prelink_run (NULL, NULL, 0);
Note: See TracChangeset for help on using the changeset viewer.