trivial: Fix a memory leak found using libasan

This commit is contained in:
Richard Hughes 2019-05-02 10:18:32 +01:00
parent bb5199b428
commit 8499930a45

View File

@ -2018,6 +2018,7 @@ fu_plugin_finalize (GObject *object)
g_hash_table_unref (priv->devices);
g_hash_table_unref (priv->report_metadata);
g_object_unref (priv->devices_mutex);
g_free (priv->build_hash);
g_free (priv->name);
g_free (priv->data);
/* Must happen as the last step to avoid prematurely