src/video/psp/SDL_pspvideo.c
changeset 10270 724516f210e6
parent 10202 16c283d1dcca
equal deleted inserted replaced
10269:efff2efeb166 10270:724516f210e6
    90 
    90 
    91         gldata = (SDL_GLDriverData *) SDL_calloc(1, sizeof(SDL_GLDriverData));
    91         gldata = (SDL_GLDriverData *) SDL_calloc(1, sizeof(SDL_GLDriverData));
    92     if (gldata == NULL) {
    92     if (gldata == NULL) {
    93         SDL_OutOfMemory();
    93         SDL_OutOfMemory();
    94         SDL_free(device);
    94         SDL_free(device);
       
    95         SDL_free(phdata);
    95         return NULL;
    96         return NULL;
    96     }
    97     }
    97     device->gl_data = gldata;
    98     device->gl_data = gldata;
    98 
    99 
    99     device->driverdata = phdata;
   100     device->driverdata = phdata;