Ignore:
Timestamp:
Oct 6, 2000, 1:04:02 PM (25 years ago)
Author:
sandervl
Message:

console, pe loader + FormatMessage fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/winimagebase.cpp

    r4279 r4440  
    1 /* $Id: winimagebase.cpp,v 1.27 2000-09-18 19:26:16 sandervl Exp $ */
     1/* $Id: winimagebase.cpp,v 1.28 2000-10-06 11:04:02 sandervl Exp $ */
    22
    33/*
     
    8585void Win32ImageBase::setFullPath(char *name)
    8686{
    87   dassert(name, ("setFullPath, name == NULL"));
     87  if(fullpath)
     88        free(fullpath);
    8889  fullpath = (char *)malloc(strlen(name)+1);
    89   dassert(fullpath, ("setFullPath, fullpath == NULL"));
    9090  strcpy(fullpath, name);
    9191}
Note: See TracChangeset for help on using the changeset viewer.