Changeset 2792


Ignore:
Timestamp:
Feb 15, 2000, 3:37:43 PM (25 years ago)
Author:
sandervl
Message:

Fixed lx dll release method

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/kernel32/windlllx.cpp

    r2069 r2792  
    1 /* $Id: windlllx.cpp,v 1.6 1999-12-13 21:07:40 sandervl Exp $ */
     1/* $Id: windlllx.cpp,v 1.7 2000-02-15 14:37:43 sandervl Exp $ */
    22
    33/*
     
    106106{
    107107 ULONG ret = --referenced;
     108 HINSTANCE hinst;
    108109
    109110  if(ret == 0) {
     
    111112        //DosFreeModule sends a termination message to the dll.
    112113        //The LX dll informs us when it's removed (UnregisterDll call)
    113         DosFreeModule(hinstance);
     114        hinst = hinstance;
     115        delete this;
     116        DosFreeModule(hinst);
    114117  }
    115118  return(ret);
Note: See TracChangeset for help on using the changeset viewer.