dec_sub: fix memory leak when using subtitle codepage conversion

This commit is contained in:
wm4 2013-06-28 14:22:53 +02:00
parent 4c0896de53
commit 398722c5a6
1 changed files with 1 additions and 0 deletions

View File

@ -250,6 +250,7 @@ static void decode_chain_recode(struct dec_sub *sub, struct sd **sd, int num_sd,
if (sub->charset)
recoded = recode_packet(packet, sub->charset);
decode_chain(sd, num_sd, recoded ? recoded : packet);
talloc_free(recoded);
}
}