Changeset 579 for trunk/src/sh_files.c


Ignore:
Timestamp:
May 14, 2023, 10:08:17 PM (16 months ago)
Author:
katerina
Message:

Fix for ticket #467 (memleak).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_files.c

    r565 r579  
    23152315            {
    23162316              ++theDir->NumDirs;
     2317#if defined(SH_USE_SCANDIR)
     2318              free(entryList[entry]); /* scandir() mallocs entries */
     2319#endif
    23172320              continue;
    23182321            }
     
    23202323            {
    23212324              ++theDir->NumDirs;
     2325#if defined(SH_USE_SCANDIR)
     2326              free(entryList[entry]); /* scandir() mallocs entries */
     2327#endif
    23222328              continue;
    23232329            }
Note: See TracChangeset for help on using the changeset viewer.