Changeset 1039 for trunk/dll/shadow.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/shadow.c

    r1009 r1039  
    3030#include "strutil.h"                    // GetPString
    3131#include "fm3dll.h"
     32#include "fortify.h"
    3233
    3334#pragma data_seg(DATA1)
     
    5758              (path) ? ";STARTUPDIR=" : "", (path) ? path : "", objtitle);
    5859      WinSetObjectData(obj, s);
    59       xfree(s, pszSrcFile, __LINE__);
     60      free(s);
    6061    }
    6162  }
     
    158159                          objtitle,
    159160                          s, (location) ? location : cnr, CO_FAILIFEXISTS);
    160     xfree(s, pszSrcFile, __LINE__);
     161    free(s);
    161162  }
    162163  return obj;
Note: See TracChangeset for help on using the changeset viewer.