From afe00a91e7ceb2d967ae87fc8d2b64108a94c254 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Fri, 17 Feb 2017 13:36:55 +0000 Subject: [PATCH] trivial: Prevent a critical warning when using --timed-exit --- src/fu-main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/fu-main.c b/src/fu-main.c index 3b6cde883..39f471f80 100644 --- a/src/fu-main.c +++ b/src/fu-main.c @@ -2884,8 +2884,6 @@ out: g_source_remove (priv->coldplug_id); if (priv->plugins != NULL) g_ptr_array_unref (priv->plugins); - if (priv->plugins != NULL) - g_ptr_array_unref (priv->plugins); if (priv->plugins_hash != NULL) g_hash_table_unref (priv->plugins_hash); g_ptr_array_unref (priv->devices);