Ignore:
Timestamp:
Oct 3, 2000, 7:28:32 PM (25 years ago)
Author:
sandervl
Message:

misc updates + fixes

File:
1 edited

Legend:

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

    r4015 r4407  
    1 /* $Id: winimagepeldr.cpp,v 1.53 2000-08-14 19:15:37 sandervl Exp $ */
     1/* $Id: winimagepeldr.cpp,v 1.54 2000-10-03 17:28:31 sandervl Exp $ */
    22
    33/*
     
    14051405                }
    14061406                lxdll->setDllHandleOS2(hInstanceNewDll);
    1407                 lxdll->AddRef();
     1407                if(lxdll->AddRef() == -1) {//-1 -> load failed (attachProcess)
     1408                        dprintf((LOG, "Dll %s refused to be loaded; aborting", modname));
     1409                        delete lxdll;
     1410                        errorState = ERROR_INTERNAL;
     1411                        return(FALSE);
     1412                }
    14081413                WinDll = (Win32DllBase*)lxdll;
    14091414        }
     
    14231428                if(pedll->init(0) == FALSE) {
    14241429                    dprintf((LOG, "Internal WinDll error ", pedll->getError() ));
     1430                    delete pedll;
    14251431                    return(FALSE);
    14261432                }
Note: See TracChangeset for help on using the changeset viewer.