Changeset 1039 for trunk/dll/grep.c
- Timestamp:
- Jul 6, 2008, 12:16:21 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/grep.c
r1038 r1039 616 616 else if (!InsertDupe(grep, szFindPath, pffbFile)) { 617 617 DosFindClose(findHandle); 618 xfree(pffbArray, pszSrcFile, __LINE__);618 free(pffbArray); 619 619 # ifdef FORTIFY 620 620 Fortify_LeaveScope(); … … 645 645 } 646 646 647 xfree(pffbArray, pszSrcFile, __LINE__);647 free(pffbArray); 648 648 # ifdef FORTIFY 649 649 Fortify_LeaveScope(); … … 661 661 free(grep->insertffb[x]); 662 662 } 663 xfree(grep->insertffb, pszSrcFile, __LINE__);663 free(grep->insertffb); 664 664 } 665 665 if (grep->dir) { … … 667 667 free(grep->dir[x]); 668 668 } 669 xfree(grep->dir, pszSrcFile, __LINE__);669 free(grep->dir); 670 670 } 671 671 grep->dir = NULL; … … 782 782 pszSrcFile, __LINE__); 783 783 if (!grep->dir) { 784 xfree(grep->insertffb, pszSrcFile, __LINE__);784 free(grep->insertffb); 785 785 # ifdef FORTIFY 786 786 Fortify_LeaveScope(); … … 798 798 grep->dir[grep->toinsert] = xstrdup(szDirectory, pszSrcFile, __LINE__); 799 799 if (!grep->dir) { 800 xfree(grep->insertffb[grep->toinsert], pszSrcFile, __LINE__);800 free(grep->insertffb[grep->toinsert]); 801 801 # ifdef FORTIFY 802 802 Fortify_LeaveScope(); … … 1018 1018 fclose(inputFile); 1019 1019 } 1020 xfree(input, pszSrcFile, __LINE__);1020 free(input); 1021 1021 # ifdef FORTIFY 1022 1022 Fortify_LeaveScope(); … … 1135 1135 // DosSleep(1); // 07 Feb 08 SHL 1136 1136 } 1137 xfree(buffer, pszSrcFile, __LINE__);1137 free(buffer); 1138 1138 # ifdef FORTIFY 1139 1139 Fortify_LeaveScope(); … … 1628 1628 info->name = xstrdup(dir, pszSrcFile, __LINE__); 1629 1629 if (!info->name) { 1630 xfree(info, pszSrcFile, __LINE__);1630 free(info); 1631 1631 # ifdef FORTIFY 1632 1632 Fortify_LeaveScope();
Note:
See TracChangeset
for help on using the changeset viewer.