VirtualBox

Changeset 35726 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 27, 2011 7:46:18 AM (14 years ago)
Author:
vboxsync
Message:

VBoxSDL: remove excessive listener release

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp

    r35722 r35726  
    27602760        if (!pES.isNull())
    27612761            CHECK_ERROR(pES, UnregisterListener(pConsoleListener));
    2762         pConsoleListener->Release();
    2763         pConsoleListener = NULL;
     2762        pConsoleListener.setNull();
    27642763    }
    27652764
     
    28602859        if (!pES.isNull())
    28612860            CHECK_ERROR(pES, UnregisterListener(pVBoxListener));
    2862         pVBoxListener->Release();
    2863         pVBoxListener = NULL;
     2861        pVBoxListener.setNull();
    28642862    }
    28652863
     
    28712869        if (!pES.isNull())
    28722870            CHECK_ERROR(pES, UnregisterListener(pVBoxClientListener));
    2873         pVBoxClientListener->Release();
    2874         pVBoxClientListener = NULL;
     2871        pVBoxClientListener.setNull();
    28752872    }
    28762873
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette