Skip to content
Snippets Groups Projects
Commit 90f8b8a8 authored by Lyndon Brown's avatar Lyndon Brown Committed by Hugo Beauzée-Luyssen
Browse files

mock-demux: fix invalid free

parent 854cd9e5
No related branches found
No related tags found
1 merge request!1102mock-demux: fix invalid free
Pipeline #175408 passed with stage
in 14 minutes and 25 seconds
......@@ -279,6 +279,7 @@ CreateTitle(demux_t *demux, size_t idx)
&& asprintf(&t->seekpoint[i]->psz_name, "Mock Chapter %zu-%zu", idx, i)
== -1)
{
t->seekpoint[i]->psz_name = NULL;
vlc_input_title_Delete(t);
return NULL;
}
......
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