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);