text_renderer/svg: fix uaf at template load
If token is not found in svg template, psz_template is freed. Yet it is used in svg_GetDocument and incorectly being double freed in Destroy().
Fixes: #29370 (closed) (Coverity 1398436)
If token is not found in svg template, psz_template is freed. Yet it is used in svg_GetDocument and incorectly being double freed in Destroy().
Fixes: #29370 (closed) (Coverity 1398436)
VideoLAN code repository instance