just keep recent_deck, when it's already equal
to current ft_curckt->ci_mcdeck, thus avoid freeing ft_curckt->ci_mcdeck
This commit is contained in:
parent
b0883ffc5d
commit
73da17e367
|
|
@ -341,7 +341,7 @@ void
|
|||
inp_mc_free(void)
|
||||
{
|
||||
if (ft_curckt && ft_curckt->ci_mcdeck) {
|
||||
if (recent_deck)
|
||||
if (recent_deck && recent_deck != ft_curckt->ci_mcdeck)
|
||||
line_free(recent_deck, TRUE);
|
||||
recent_deck = ft_curckt->ci_mcdeck;
|
||||
ft_curckt->ci_mcdeck = NULL;
|
||||
|
|
|
|||
Loading…
Reference in New Issue