Ignore:
Timestamp:
Jul 9, 2012, 3:58:43 PM (12 years ago)
Author:
chronos
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • PinConnection/UCommThread.pas

    r302 r384  
    125125begin
    126126  Active := False;
    127   FInputBuffer.Free;
    128   FInputBufferLock.Free;
    129   Ext.Free;
    130   Pin.Free;
    131   FStatusEvent.Free;
    132   FDataAvailable.Free;
    133   inherited Destroy;
     127  FInputBufferLock.Acquire;
     128  FreeAndNil(FInputBuffer);
     129  FreeAndNil(FInputBufferLock);
     130  FreeAndNil(Ext);
     131  FreeAndNil(Pin);
     132  FreeAndNil(FStatusEvent);
     133  FreeAndNil(FDataAvailable);
     134  inherited;
    134135end;
    135136
Note: See TracChangeset for help on using the changeset viewer.