From c3e9737339c8b8beabd892d7040c564b5842d892 Mon Sep 17 00:00:00 2001 From: Denis Gorodnichev Date: Mon, 18 Aug 2014 20:23:51 +0400 Subject: fix seqfault when animation is disabled --- src/core/effects.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/core/effects.c b/src/core/effects.c index 853d5ce9..469184e2 100644 --- a/src/core/effects.c +++ b/src/core/effects.c @@ -754,7 +754,8 @@ run_handler (MetaEffect *effect) } else { - effect->priv->finished(effect->priv->finished_data); + if (effect->priv->finished) + effect->priv->finished(effect->priv->finished_data); } effect_free (effect); -- cgit v1.2.1