Changeset 1344 for portaudio/branches

Show
Ignore:
Timestamp:
02/18/08 03:36:54 (10 months ago)
Author:
rossb
Message:

fixed bug not clearing global asioDrivers variable introduced in prevous checkin r1343

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • portaudio/branches/v19-devel/src/hostapi/asio/pa_asio.cpp

    r1343 r1344  
    13411341 
    13421342        delete asioHostApi->asioDrivers; 
    1343         asioDrivers = asioHostApi->asioDrivers; /* keep SDK global in sync until we stop depending on it */ 
     1343        asioDrivers = 0; /* keep SDK global in sync until we stop depending on it */ 
    13441344 
    13451345        PaUtil_FreeMemory( asioHostApi ); 
     
    13651365 
    13661366    delete asioHostApi->asioDrivers; /* calls CoUninitialize() */ 
    1367     asioDrivers = asioHostApi->asioDrivers; /* keep SDK global in sync until we stop depending on it */ 
     1367    asioDrivers = 0; /* keep SDK global in sync until we stop depending on it */ 
    13681368 
    13691369    PaUtil_FreeMemory( asioHostApi );