summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_x11.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c
index f2649ccb32..ece164c746 100644
--- a/libvo/vo_x11.c
+++ b/libvo/vo_x11.c
@@ -171,8 +171,6 @@ static void getMyXImage(void)
&Shminfo[0], image_width, image_height);
if (myximage == NULL)
{
- if (myximage != NULL)
- XDestroyImage(myximage);
mp_msg(MSGT_VO, MSGL_WARN,
"Shared memory error,disabling ( Ximage error )\n");
goto shmemerror;