VirtualBox

Ignore:
Timestamp:
Nov 3, 2010 4:19:40 PM (14 years ago)
Author:
vboxsync
Message:

crOpenGL: check proper pointer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_snapshot.c

    r33540 r33734  
    19411941        {
    19421942            pProgram->pUniforms = crAlloc(pProgram->cUniforms*sizeof(CRGLSLUniform));
    1943             if (!pProgram) return VERR_NO_MEMORY;
     1943            if (!pProgram->pUniforms) return VERR_NO_MEMORY;
    19441944
    19451945            for (k=0; k<pProgram->cUniforms; ++k)
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