src/video/psp/SDL_pspvideo.c
changeset 10270 724516f210e6
parent 10202 16c283d1dcca
--- a/src/video/psp/SDL_pspvideo.c	Wed Aug 03 22:32:02 2016 +0200
+++ b/src/video/psp/SDL_pspvideo.c	Wed Aug 03 22:32:20 2016 +0200
@@ -92,6 +92,7 @@
     if (gldata == NULL) {
         SDL_OutOfMemory();
         SDL_free(device);
+        SDL_free(phdata);
         return NULL;
     }
     device->gl_data = gldata;