diff options
Diffstat (limited to 'libvo/vo_directx.c')
-rw-r--r-- | libvo/vo_directx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libvo/vo_directx.c b/libvo/vo_directx.c index 9a940c6553..b80f0bdc01 100644 --- a/libvo/vo_directx.c +++ b/libvo/vo_directx.c @@ -1177,8 +1177,7 @@ static void flip_page(void) mp_msg(MSGT_VO,MSGL_WARN,"<vo_directx><WARN>stride changed !!!! disabling direct rendering\n"); vo_directrendering=0; } - if (tmp_image) - free(tmp_image); + free(tmp_image); tmp_image = NULL; dstride = ddsdsf.lPitch; image = ddsdsf.lpSurface; |