mirror of
https://github.com/mpv-player/mpv
synced 2024-12-22 06:42:03 +00:00
Missing free for malloced char_seq in OSD code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18719 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
37ee8c83cb
commit
c95cda1aa8
@ -460,6 +460,7 @@ inline static void vo_update_text_sub(mp_osd_obj_t* obj,int dxs,int dys){
|
|||||||
char_position = 0;
|
char_position = 0;
|
||||||
xsize = -vo_font->charspace;
|
xsize = -vo_font->charspace;
|
||||||
}
|
}
|
||||||
|
free(char_seq);
|
||||||
|
|
||||||
if (osl != NULL) {
|
if (osl != NULL) {
|
||||||
int value = 0, exit = 0, minimum = 0;
|
int value = 0, exit = 0, minimum = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user