subtitle: fix a potential memory leak
commite96860acd9993f7409d335018987af73ecc3d947
authorSimon Latapie <garf@videolan.org>
Tue, 7 Nov 2017 18:39:04 +0000 (7 19:39 +0100)
committerThomas Guillem <thomas@gllm.fr>
Fri, 10 Nov 2017 09:43:44 +0000 (10 10:43 +0100)
treec567cdd7275a0a586858bb65e84c0e168c4cf2ea
parent4dedfb2a32082c99d550c7f155239e35ca888566
subtitle: fix a potential memory leak

Fixes the Coverity defect 403210.

Breaking the switch case will end up freeing psz_orig and continue the loop.

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
modules/demux/subtitle.c