Skip to content
Snippets Groups Projects
Commit 50b4dbf6 authored by Philip Langdale's avatar Philip Langdale
Browse files

ass subtitles: Fix valgrind warnings.


We're now running some of this code through valgrind for the first
time, and a few warnings showed up stemming from two problems.

1) The ASS code assumes the subtitle header is null terminated, but
it wasn't, and passing the size down doesn't look like fun, so I
added a terminator

2) The code wasn't freeing all of its state.

Signed-off-by: default avatarPhilip Langdale <philipl@overt.org>
parent c30f53e4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment