summaryrefslogtreecommitdiffstats
path: root/libvo/gl_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/gl_common.c')
-rw-r--r--libvo/gl_common.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libvo/gl_common.c b/libvo/gl_common.c
index 8d0036ef0d..ad6fc99a64 100644
--- a/libvo/gl_common.c
+++ b/libvo/gl_common.c
@@ -1144,8 +1144,7 @@ static void create_conv_textures(gl_conversion_params_t *params, int *texu, char
default:
mp_msg(MSGT_VO, MSGL_ERR, "[gl] unknown conversion type %i\n", conv);
}
- if (lookup_data)
- free(lookup_data);
+ free(lookup_data);
}
/**