diff options
Diffstat (limited to 'libvo/sub.c')
-rw-r--r-- | libvo/sub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/sub.c b/libvo/sub.c index 4df69c38ce..2c0f29d485 100644 --- a/libvo/sub.c +++ b/libvo/sub.c @@ -1084,8 +1084,8 @@ void osd_free(struct osd_state *osd) mp_osd_obj_t* obj=vo_osd_list; while(obj){ mp_osd_obj_t* next=obj->next; - if (obj->alpha_buffer) free(obj->alpha_buffer); - if (obj->bitmap_buffer) free(obj->bitmap_buffer); + free(obj->alpha_buffer); + free(obj->bitmap_buffer); free(obj); obj=next; } |