src/video/win32/SDL_d3drender.c
changeset 1924 69217fdd2c0a
parent 1921 f3399f779a1d
child 1925 411bfb37082b
--- a/src/video/win32/SDL_d3drender.c	Sat Jul 22 19:51:48 2006 +0000
+++ b/src/video/win32/SDL_d3drender.c	Sat Jul 22 21:02:57 2006 +0000
@@ -396,7 +396,6 @@
                                        PixelFormatToD3DFMT(texture->format),
                                        pool, &data->texture, NULL);
     if (FAILED(result)) {
-        SDL_free(data);
         D3D_SetError("CreateTexture()", result);
         return -1;
     }