VirtualBox

Changeset 19878 in vbox


Ignore:
Timestamp:
May 21, 2009 11:37:39 AM (16 years ago)
Author:
vboxsync
Message:

crOpenGL: cleanup on failures

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/spu_loader/spuload.c

    r15532 r19878  
    8585                crError( "Couldn't load the SPU entry point \"%s\" from SPU \"%s\"!",
    8686                                SPU_ENTRY_POINT_NAME, name );
     87                crSPUUnloadChain(the_spu);
     88                return NULL;
    8789        }
    8890
     
    9597        {
    9698                crError( "I found the SPU \"%s\", but loading it failed!", name );
     99                crSPUUnloadChain(the_spu);
     100                return NULL;
    97101        }
    98102#ifdef IN_GUEST
     
    125129        if (!the_spu->function_table) {
    126130                crDebug("Failed to init %s SPU", name);
     131                crSPUUnloadChain(the_spu);
    127132                return NULL;
    128133        }
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