Changeset 22223

Show
Ignore:
Timestamp:
02.06.2010 16:19:14 (9 years ago)
Author:
sjm84
Message:

Fixed a bug that caused the installer to crash on Windows Vista and Windows 7

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/release-kits/shared/windows/wrapper/wrapper.cpp

    r19848 r22223  
    297297    string owd = ""; 
    298298    owd.append( owdChar ); 
    299     delete owdChar; 
     299    free(owdChar); 
    300300     
    301301    //strip trailing slash 
     
    319319    //SetFileAttributes(tmpdir, FILE_ATTRIBUTE_HIDDEN); 
    320320    SetCurrentDirectory(tmpdir); 
    321     delete tmp; //  deallocate memory 
     321    // delete tmp; //  should be tmpdir? ??? (deallocate memory) 
    322322     
    323323    #ifdef CDROM