From 00249b8241685d00a7395ee2dc07154f8f5d3fdc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Mal=C3=BD?= Date: Fri, 15 Aug 2014 23:55:20 +0200 Subject: [PATCH] Fix double variable assignment --- klgd_ff_plugin.c | 1 - 1 file changed, 1 deletion(-) diff --git a/klgd_ff_plugin.c b/klgd_ff_plugin.c index 11dd697..a6e9366 100644 --- a/klgd_ff_plugin.c +++ b/klgd_ff_plugin.c @@ -199,7 +199,6 @@ static struct klgd_command_stream * ffpl_get_commands(struct klgd_plugin *self, case FFPL_TO_ERASE: klgd_append_cmd(s, priv->stop_effect(eff->active, idx)); klgd_append_cmd(s, priv->erase_effect(eff->active, idx)); - eff->state = FFPL_EMPTY; kfree(eff->active); if (eff->active != eff->latest) kfree(eff->latest); -- 2.43.5