src/render/SDL_yuv_sw.c
changeset 6490 d2d8576aa3a0
parent 6138 4c64952a58fb
child 6885 700f1b25f77f
     1.1 --- a/src/render/SDL_yuv_sw.c	Fri Sep 28 02:33:42 2012 -0700
     1.2 +++ b/src/render/SDL_yuv_sw.c	Fri Sep 28 02:43:13 2012 -0700
     1.3 @@ -1044,6 +1044,7 @@
     1.4      case SDL_PIXELFORMAT_YVYU:
     1.5          break;
     1.6      default:
     1.7 +        SDL_SW_DestroyYUVTexture(swdata);
     1.8          SDL_SetError("Unsupported YUV format");
     1.9          return NULL;
    1.10      }