diff options
author | Grigori Goronzy <greg@chown.ath.cx> | 2016-10-04 02:41:45 +0200 |
---|---|---|
committer | Grigori Goronzy <greg@chown.ath.cx> | 2016-10-04 19:45:16 +0200 |
commit | 1ca16e18cb9421853e5523e19d3826d4ea252a64 (patch) | |
tree | c1ac905da6b720bad63425597ea818a1e0be71d9 /libass | |
parent | aa54e0b59200a994d50a346b5d7ac818ebcf2d4b (diff) | |
download | libass-1ca16e18cb9421853e5523e19d3826d4ea252a64.tar.bz2 libass-1ca16e18cb9421853e5523e19d3826d4ea252a64.tar.xz |
Fix memory leaks
Found by fuzzer test case id:000051,sig:11,sync:fuzzer3,src:004221.
Diffstat (limited to 'libass')
-rw-r--r-- | libass/ass.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libass/ass.c b/libass/ass.c index dda61c5..f42fd4b 100644 --- a/libass/ass.c +++ b/libass/ass.c @@ -590,6 +590,7 @@ static int process_styles_line(ASS_Track *track, char *str) if (!strncmp(str, "Format:", 7)) { char *p = str + 7; skip_spaces(&p); + free(track->style_format); track->style_format = strdup(p); ass_msg(track->library, MSGL_DBG2, "Style format: %s", track->style_format); |