diff --git a/src/fu-plugin.c b/src/fu-plugin.c index 24ab8f53b..4724846b7 100644 --- a/src/fu-plugin.c +++ b/src/fu-plugin.c @@ -863,6 +863,7 @@ fu_plugin_runner_update (FuPlugin *plugin, g_autoptr(FuPending) pending = NULL; g_autoptr(FwupdResult) res_pending = NULL; GError *error_update = NULL; + GPtrArray *checksums; /* not enabled */ if (!priv->enabled) @@ -907,6 +908,10 @@ fu_plugin_runner_update (FuPlugin *plugin, return FALSE; } + /* no longer valid */ + checksums = fu_device_get_checksums (device); + g_ptr_array_set_size (checksums, 0); + /* cleanup */ if (res_pending != NULL) { const gchar *tmp;