summaryrefslogtreecommitdiffstats
path: root/libvo/video_out.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/video_out.c')
-rw-r--r--libvo/video_out.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libvo/video_out.c b/libvo/video_out.c
index 57e0444094..763527a4c1 100644
--- a/libvo/video_out.c
+++ b/libvo/video_out.c
@@ -643,8 +643,7 @@ range_t *str2range(char *s)
r[i].min = r[i].max = -1;
return r;
out_err:
- if (r)
- free(r);
+ free(r);
return NULL;
}