Changeset 1039 for trunk/dll/saveclip.c


Ignore:
Timestamp:
Jul 6, 2008, 12:16:21 AM (17 years ago)
Author:
Gregg Young
Message:

Removed unnecessary xfrees and included fortify.h where needed; moved several misplaced (x)frees;

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/saveclip.c

    r1009 r1039  
    3939#include "strutil.h"                    // GetPString
    4040#include "fm3dll.h"
     41#include "fortify.h"
    4142
    4243static PSZ pszSrcFile = __FILE__;
     
    187188          p = strchr(pp, '\n');
    188189      }
    189       xfree(text, pszSrcFile, __LINE__);
     190      free(text);
    190191    }
    191192  }
     
    840841                        subject[1023] = 0;
    841842                      }
    842                       xfree(pfealist, pszSrcFile, __LINE__);
     843                      free(pfealist);
    843844                    }
    844                     xfree(pgealist, pszSrcFile, __LINE__);
     845                    free(pgealist);
    845846                  }
    846847                }
     
    883884                        longname[CCHMAXPATHCOMP - 1] = 0;
    884885                      }
    885                       xfree(pfealist, pszSrcFile, __LINE__);
     886                      free(pfealist);
    886887                    }
    887                     xfree(pgealist, pszSrcFile, __LINE__);
     888                    free(pgealist);
    888889                  }
    889890                }
Note: See TracChangeset for help on using the changeset viewer.