Commit 280f916a authored by Benjamin Berg's avatar Benjamin Berg
Browse files

image-device: Fix incorrect g_free of error

GError needs to be free'ed using g_error_free, fix this.
parent 1b5dd005
......@@ -181,7 +181,7 @@ fp_image_device_maybe_complete_action (FpImageDevice *self, GError *error)
if (priv->action_error && !(priv->action_error->domain == FP_DEVICE_RETRY))
g_warning ("Will complete with first error, new error was: %s", error->message);
g_free (error);
g_clear_error (&error);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment