summaryrefslogtreecommitdiffstats
path: root/libvo/vo_gl.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_gl.c')
-rw-r--r--libvo/vo_gl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c
index ea454c8f0e..8ffd82b6fd 100644
--- a/libvo/vo_gl.c
+++ b/libvo/vo_gl.c
@@ -1114,9 +1114,9 @@ static void
uninit(void)
{
uninitGl();
- if (custom_prog) free(custom_prog);
+ free(custom_prog);
custom_prog = NULL;
- if (custom_tex) free(custom_tex);
+ free(custom_tex);
custom_tex = NULL;
uninit_mpglcontext(&glctx);
}